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

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

[nongnu] elpa/magit f5f26b449d 05/28: magit--git-wash: Insert empty line


From: Jonas Bernoulli
Subject: [nongnu] elpa/magit f5f26b449d 05/28: magit--git-wash: Insert empty line after error message
Date: Fri, 6 Dec 2024 17:17:03 -0500 (EST)

branch: elpa/magit
commit f5f26b449d78dc2b9ded48c99120748a20d9c1af
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    magit--git-wash: Insert empty line after error message
---
 lisp/magit-git.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index 5ec9021e91..2c800f72a2 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -562,8 +562,7 @@ call function WASHER with ARGS as its sole argument."
     (when (stringp exit)
       (goto-char beg)
       (insert (propertize exit 'face 'error))
-      (unless (bolp)
-        (insert "\n")))
+      (insert (if (bolp) "\n" "\n\n")))
     (if (= (point) beg)
         (magit-cancel-section)
       (unless (bolp)



reply via email to

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