summaryrefslogtreecommitdiff
path: root/lisp/vc-annotate-lens-mode.el
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2023-06-22 12:34:12 -0400
committermattkae <mattkae@protonmail.com>2023-06-22 12:34:12 -0400
commitb3b03e46ea9626ad12a74d6ea7f90ceca1bf1d4f (patch)
treef8385a820cd24ccdd18b645f113442e375f394e9 /lisp/vc-annotate-lens-mode.el
parent3b8f82e212d6b770987eb6f2c60d9413376d90e4 (diff)
Using vertico isntead of helm now; created a way to archive all tasks in an org buffer; created better capture templates
Diffstat (limited to 'lisp/vc-annotate-lens-mode.el')
-rw-r--r--lisp/vc-annotate-lens-mode.el13
1 files changed, 5 insertions, 8 deletions
diff --git a/lisp/vc-annotate-lens-mode.el b/lisp/vc-annotate-lens-mode.el
index 8580aef..b615a1b 100644
--- a/lisp/vc-annotate-lens-mode.el
+++ b/lisp/vc-annotate-lens-mode.el
@@ -26,19 +26,16 @@
(let ((git-info (shell-command-to-string (format "git log -u -L%d,%d:%s" vc-annotate-lens-cursor-position vc-annotate-lens-cursor-position buffer-file-name))))
(let (( git-info-split (split-string git-info "\n" )))
- (message "%s" 'git-info-split)
- (let (( author-line (nth 1 git-info-split))
- ( date-line (nth 2 git-info-split)))
- (overlay-put (make-overlay (point-at-eol) (+ 3 (point-at-eol))) 'display
- author-line)
+ (let (
+ ( commit-line (nth 0 git-info-split))
+ ( author-line (nth 1 git-info-split))
+ ( date-line (nth 2 git-info-split)))
+ (overlay-put (make-overlay (point-at-eol) (+ 3 (point-at-eol))) 'display (format " %s\n" author-line))
)
)
)
)
-(do-stuff-if-moved-post-command)
-
-
(define-minor-mode vc-annotate-lens-mode
"Show 'vc-annotate' information when you move to a line."