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

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

[nongnu] elpa/eldoc-diffstat fdce0b8e2a 03/10: Include subject in eldoc-


From: ELPA Syncer
Subject: [nongnu] elpa/eldoc-diffstat fdce0b8e2a 03/10: Include subject in eldoc-diffstat output
Date: Fri, 13 Dec 2024 16:01:50 -0500 (EST)

branch: elpa/eldoc-diffstat
commit fdce0b8e2a2178edce7ac9a568f39f844c1c7de9
Author: Johann Klähn <johann@jklaehn.de>
Commit: Johann Klähn <johann@jklaehn.de>

    Include subject in eldoc-diffstat output
    
    This is useful in `vc-annotate-mode`.
---
 eldoc-diffstat.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/eldoc-diffstat.el b/eldoc-diffstat.el
index dc2efdca42..ca6b599efe 100644
--- a/eldoc-diffstat.el
+++ b/eldoc-diffstat.el
@@ -29,7 +29,7 @@
 (defvar eldoc-diffstat--process nil)
 (defconst eldoc-diffstat--command
   (list "git" "--no-pager" "show" "--color=always"
-        "--format=format:%an <%ae>, %aD" "--stat=80"))
+        "--format=format:%an <%ae>, %aD:%n%s" "--stat=80"))
 
 ;;;###autoload
 (defun eldoc-diffstat-setup ()
@@ -97,6 +97,10 @@ Intended for `eldoc-documentation-functions'."
                          (line-end-position)
                          'face 'bold)
 
+      ;; Join second line.
+      (forward-line)
+      (join-line)
+
       ;; Move summary to the top and make it italic.
       (forward-line)
       (reverse-region (point) (point-max))



reply via email to

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