emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 2fbdb1b: make `vc-log-operation' buffer local to al


From: Sam Steingold
Subject: [Emacs-diffs] master 2fbdb1b: make `vc-log-operation' buffer local to allow multiple simultaneous editing
Date: Thu, 17 Mar 2016 19:43:45 +0000

branch: master
commit 2fbdb1bb4c878f8ae17bd69d1b4ff51c47497e41
Author: Sam Steingold <address@hidden>
Commit: Sam Steingold <address@hidden>

    make `vc-log-operation' buffer local to allow multiple simultaneous editing
---
 lisp/vc/vc-dispatcher.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lisp/vc/vc-dispatcher.el b/lisp/vc/vc-dispatcher.el
index 59f2ae3..a551542 100644
--- a/lisp/vc/vc-dispatcher.el
+++ b/lisp/vc/vc-dispatcher.el
@@ -669,7 +669,7 @@ BACKEND, if non-nil, specifies a VC backend for the Log 
Edit buffer."
     (make-local-variable 'vc-log-after-operation-hook)
     (when after-hook
       (setq vc-log-after-operation-hook after-hook))
-    (setq vc-log-operation action)
+    (set (make-local-variable 'vc-log-operation) action)
     (when comment
       (erase-buffer)
       (when (stringp comment) (insert comment)))
@@ -711,6 +711,7 @@ the buffer contents as a comment."
       (funcall log-operation
               log-fileset
               log-entry))
+    (setq vc-log-operation nil)
 
     ;; Quit windows on logbuf.
     (cond



reply via email to

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