From 69c882ecfb49cf56eac5b75e7e5932758e32833e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 11 May 2024 20:13:17 +0300 Subject: [PATCH] ; * lisp/cus-edit.el (custom-save-all): Remove offensive commentary. (cherry picked from commit dcb6a9ebcbf92a4ca7c0e2c393d7a8dd9b1d351e) --- lisp/cus-edit.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index c3dd2ef6714..c448ebefd34 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el @@ -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)) -- 2.39.5