diff options
author | Eli Zaretskii <eliz@gnu.org> | 2024-05-11 20:13:17 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-05-11 20:13:17 +0300 |
commit | dcb6a9ebcbf92a4ca7c0e2c393d7a8dd9b1d351e (patch) | |
tree | b479558d222cf3053ad941b01c249b71ce001ff7 /lisp/cus-edit.el | |
parent | 6d4179957a830fa03348c47067d9d5c1ae6e3eba (diff) | |
download | emacs-dcb6a9ebcbf92a4ca7c0e2c393d7a8dd9b1d351e.tar.gz emacs-dcb6a9ebcbf92a4ca7c0e2c393d7a8dd9b1d351e.tar.bz2 emacs-dcb6a9ebcbf92a4ca7c0e2c393d7a8dd9b1d351e.zip |
; * lisp/cus-edit.el (custom-save-all): Remove offensive commentary.
Diffstat (limited to 'lisp/cus-edit.el')
-rw-r--r-- | lisp/cus-edit.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 54d648f7ec0..19449afbd2b 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el @@ -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)) |