Subject: bug#71370: 30.0.50; Please un-obsolete buffer-substring as a generalized variable

From: Michael Heerdegen <[email-masked]>
Date: Thu, 20 Jun 2024 17:33:03 +0200

Adam Porter <[email-masked]> writes:

> (which one could work around by importing all of the old code, but

Come on, those are four lines:

#+begin_src emacs-lisp
(defun cl--set-buffer-substring (start end val)
  "Delete region from START to END and insert VAL."
  (save-excursion (delete-region start end)
		  (goto-char start)
		  (insert val)
		  val))
#+end_src

> it would be simpler to not obsolete it in the first place).

For you.  But there were reasons why this had been deprecated.  Let's
stop shadow boxing.

Any arguments why this gv is different from the others that had been
deprecated?

TIA,

Michael.