diff options
| author | Chong Yidong <cyd@gnu.org> | 2012-10-29 19:12:17 +0800 |
|---|---|---|
| committer | Chong Yidong <cyd@gnu.org> | 2012-10-29 19:12:17 +0800 |
| commit | 1dc2755a716e15ac6b21d1f070346954d58018ef (patch) | |
| tree | 61a999e22f8d9fe68b071b541220dca969d6afcc /lisp/vc | |
| parent | 329c48d8b26a8943ee47682916f83f4fb60f608e (diff) | |
| download | emacs-1dc2755a716e15ac6b21d1f070346954d58018ef.tar.gz | |
* vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
Suggested by Dan Nicolaescu.
Fixes: debbugs:6326
Diffstat (limited to 'lisp/vc')
| -rw-r--r-- | lisp/vc/vc-hooks.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el index cac3eb559a1..07a292ae435 100644 --- a/lisp/vc/vc-hooks.el +++ b/lisp/vc/vc-hooks.el @@ -224,6 +224,8 @@ VC commands are globally reachable under the prefix `\\[vc-prefix-map]': (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)) |
