emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/setup 5d1dd2e144: Use make-separator-line if available


From: ELPA Syncer
Subject: [elpa] externals/setup 5d1dd2e144: Use make-separator-line if available
Date: Sat, 20 Aug 2022 04:57:54 -0400 (EDT)

branch: externals/setup
commit 5d1dd2e14467d4122611148ea0d39bfbacec7a0c
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Use make-separator-line if available
---
 setup.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/setup.el b/setup.el
index f2cf76501e..466033a80f 100644
--- a/setup.el
+++ b/setup.el
@@ -129,7 +129,9 @@ Do not modify this variable by hand.  Instead use
               "that is immediately evaluated.")
       (fill-paragraph)
       (dolist (sym (sort (mapcar #'car setup-macros) #'string-lessp))
-        (newline 2)
+        (if (fboundp 'make-separator-line)
+            (insert "\n" (make-separator-line) "\n")
+          (newline 2))
         (let ((sig (mapcar
                     (lambda (arg)
                       (if (string-match "\\`&" (symbol-name arg))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]