diff options
Diffstat (limited to 'lisp/cus-edit.el')
-rw-r--r-- | lisp/cus-edit.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 2b86051a726..fac9c77e12a 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el @@ -4581,7 +4581,7 @@ This function does not save the buffer." (if (bolp) (princ " ")) (princ ")") - (unless (looking-at-p "\n") + (when (/= (following-char) ?\n) (princ "\n"))))) (defun custom-save-faces () @@ -4636,7 +4636,7 @@ This function does not save the buffer." (if (bolp) (princ " ")) (princ ")") - (unless (looking-at-p "\n") + (when (/= (following-char) ?\n) (princ "\n"))))) ;;; The Customize Menu. |