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

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

[elpa] externals/agitate 5fbe6e3f85 2/6: Always go to point-min in agita


From: ELPA Syncer
Subject: [elpa] externals/agitate 5fbe6e3f85 2/6: Always go to point-min in agitate-vc-git-show
Date: Thu, 29 Sep 2022 07:57:18 -0400 (EDT)

branch: externals/agitate
commit 5fbe6e3f85889fea829fd390f4a6f12b1a82ffba
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Always go to point-min in agitate-vc-git-show
---
 agitate.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/agitate.el b/agitate.el
index 4ccabeb357..39de35dc02 100644
--- a/agitate.el
+++ b/agitate.el
@@ -328,7 +328,8 @@ The number of completion candidates is limited to the value 
of
     ;; TODO 2022-09-27: What else do we need to set up in such a
     ;; buffer?
     (with-current-buffer (pop-to-buffer buf)
-      (diff-mode))))
+      (diff-mode)
+      (goto-char (point-min)))))
 
 (defun agitate--vc-git-format-patch-single-commit ()
   "Help `agitate-vc-git-format-patch-single' with its COMMIT."



reply via email to

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