emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r110725: * vc/vc-hooks.el (vc-file-cl


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110725: * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
Date: Mon, 29 Oct 2012 19:12:17 +0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110725
fixes bug: http://debbugs.gnu.org/6326
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Mon 2012-10-29 19:12:17 +0800
message:
  * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
  Suggested by Dan Nicolaescu.
modified:
  lisp/ChangeLog
  lisp/vc/vc-hooks.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-10-29 10:42:58 +0000
+++ b/lisp/ChangeLog    2012-10-29 11:12:17 +0000
@@ -1,5 +1,8 @@
 2012-10-29  Chong Yidong  <address@hidden>
 
+       * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
+       Suggested by Dan Nicolaescu (Bug#6326).
+
        * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
 
        * startup.el (fancy-about-screen): Don't message (Bug#12680).

=== modified file 'lisp/vc/vc-hooks.el'
--- a/lisp/vc/vc-hooks.el       2012-09-24 12:23:25 +0000
+++ b/lisp/vc/vc-hooks.el       2012-10-29 11:12:17 +0000
@@ -224,6 +224,8 @@
 
 (defun vc-file-clearprops (file)
   "Clear all VC properties of FILE."
+  (if (boundp 'vc-parent-buffer)
+      (kill-local-variable 'vc-parent-buffer))
   (setplist (intern file vc-file-prop-obarray) nil))
 
 


reply via email to

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