]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/cus-edit.el (custom-save-all): Remove offensive commentary.
authorEli Zaretskii <eliz@gnu.org>
Sat, 11 May 2024 17:13:17 +0000 (20:13 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 12 May 2024 15:49:19 +0000 (17:49 +0200)
(cherry picked from commit dcb6a9ebcbf92a4ca7c0e2c393d7a8dd9b1d351e)

lisp/cus-edit.el

index c3dd2ef67148ce4292dbd2e629bb63d2b56feed5..c448ebefd345f4e82714b5c5dca672ccdd83c7b4 100644 (file)
@@ -4995,13 +4995,10 @@ if only the first line of the docstring is shown."))
             ;; can cause problems when read back, so print them
             ;; readably.  (Bug#52554)
             (print-escape-control-characters t))
+        ;; Insert lexical cookie, but only if the buffer is empty.
         (save-restriction
           (widen)
           (atomic-change-group
-            ;; The previous test `eobp' was written with an appalling
-            ;; lack of forethought or testing, being easily misled if
-            ;; the user should have left point at eob in a buffer
-            ;; visiting the custom file.
             (when (eq (point-min) (point-max))
               (save-excursion
                 (goto-char (point-min))