[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))
- [nongnu] branch elpa/eldoc-diffstat created (now 99b49c9793), ELPA Syncer, 2024/12/13
- [nongnu] elpa/eldoc-diffstat 1a75ccb1ec 02/10: Use cached result if called with same commit, ELPA Syncer, 2024/12/13
- [nongnu] elpa/eldoc-diffstat eb3a9e7f3a 06/10: Add support for git-rebase-mode, ELPA Syncer, 2024/12/13
- [nongnu] elpa/eldoc-diffstat fdce0b8e2a 03/10: Include subject in eldoc-diffstat output,
ELPA Syncer <=
- [nongnu] elpa/eldoc-diffstat a15690a8a7 05/10: Minor refactoring, ELPA Syncer, 2024/12/13
- [nongnu] elpa/eldoc-diffstat 956f2dc247 09/10: Fix typos, ELPA Syncer, 2024/12/13
- [nongnu] elpa/eldoc-diffstat 583a4959c0 01/10: Initial import, ELPA Syncer, 2024/12/13
- [nongnu] elpa/eldoc-diffstat 8786bab235 04/10: Add support for Hg repos, ELPA Syncer, 2024/12/13
- [nongnu] elpa/eldoc-diffstat b79a94abab 07/10: Add support for stashes in magit, ELPA Syncer, 2024/12/13
- [nongnu] elpa/eldoc-diffstat 10d42b8b51 08/10: Add README.md and .gitignore, ELPA Syncer, 2024/12/13
- [nongnu] elpa/eldoc-diffstat 99b49c9793 10/10: Silence byte compilation warnings, ELPA Syncer, 2024/12/13