summaryrefslogtreecommitdiff
path: root/lisp/cus-edit.el
diff options
context:
space:
mode:
authorVibhav Pant <vibhavp@gmail.com>2017-02-13 17:07:36 +0530
committerVibhav Pant <vibhavp@gmail.com>2017-02-13 17:07:36 +0530
commitcb410433e069b5bb450193353c3fea8593a643a9 (patch)
treed2f4269781b4841e5a0c27ec57a5a4fbcec386c0 /lisp/cus-edit.el
parente742450427007cdde242c11380dfe32a950fab61 (diff)
parent4b18ef7ba3dd8aae4f3c3bf931365ef7da883baf (diff)
downloademacs-feature/byte-switch.tar.gz
Merge branch 'master' into feature/byte-switchfeature/byte-switch
Diffstat (limited to 'lisp/cus-edit.el')
-rw-r--r--lisp/cus-edit.el4
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.