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

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

[elpa] externals/vc-got 2217122fb8 1/2: fix vc-got-print-log


From: ELPA Syncer
Subject: [elpa] externals/vc-got 2217122fb8 1/2: fix vc-got-print-log
Date: Tue, 19 Jul 2022 06:58:15 -0400 (EDT)

branch: externals/vc-got
commit 2217122fb8636cfa0f69cef4dac6f3b172f4abe2
Author: Omar Polo <op@omarpolo.com>
Commit: Omar Polo <op@omarpolo.com>

    fix vc-got-print-log
    
    the missing vc-setup-buffer call was preventing it from clearing (at
    least) the buffer, so the old logs remained.
---
 vc-got.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vc-got.el b/vc-got.el
index 2221b68a98..111e492126 100755
--- a/vc-got.el
+++ b/vc-got.el
@@ -691,8 +691,8 @@ It's like `vc-process-filter' but supports \r inside S."
   "Insert the revision log for FILES into BUFFER.
 LIMIT limits the number of commits, optionally starting at
 START-REVISION."
+  (vc-setup-buffer buffer)
   (with-current-buffer buffer
-    ;; the *vc-diff* may be read only
     (let ((inhibit-read-only t))
       (cl-loop for file in files
                do (vc-got--log (file-relative-name file)



reply via email to

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