Subject: bug#65341: 29.1; Undefined string-remove-suffix

From: Eli Zaretskii <[email-masked]>
Date: Wed, 16 Aug 2023 17:32:30 +0300

tags 65341 notabug
thanks

> Date: Wed, 16 Aug 2023 12:09:28 +0200
> From: Marco Paolo Valerio Vezzoli <[email-masked]>
> 
> 
> Function string-remove-suffix is not available anymore.
> 
> Steps to check:
> - started emacs with --no-init-file
> - launched IELM
> - typed (string-removed-suffix "init.el" ".el")
> - returned "Symbol’s function definition is void: string-remove-suffix"

Cockpit error: string-remove-suffix is in subr-x.el and is not
auto-loaded, so you need to load it first:

  IELM> (load "subr-x")
  
Then it will work.