; * 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)
committerEli Zaretskii <eliz@gnu.org>
Sat, 11 May 2024 17:13:17 +0000 (20:13 +0300)
lisp/cus-edit.el

index 54d648f7ec0772d9481d155a64302c1d96107111..19449afbd2b0fb02682539b8c4849bcda9bbedfa 100644 (file)
@@ -4970,13 +4970,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))