diff options
Diffstat (limited to 'lisp/cus-theme.el')
-rw-r--r-- | lisp/cus-theme.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/cus-theme.el b/lisp/cus-theme.el index c5682add23a..d2ee14d8bdf 100644 --- a/lisp/cus-theme.el +++ b/lisp/cus-theme.el @@ -431,7 +431,7 @@ It includes all variables in list VARS." (if (bolp) (princ " ")) (princ ")") - (unless (looking-at "\n") + (when (/= (following-char) ?\n) (princ "\n"))))) (defun custom-theme-write-faces (theme faces) @@ -463,7 +463,7 @@ It includes all faces in list FACES." (princ ")"))))) (if (bolp) (princ " ")) (princ ")") - (unless (looking-at "\n") + (when (/= (following-char) ?\n) (princ "\n"))))) |