summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-hg.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2018-01-18 20:11:34 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2018-01-18 20:11:34 -0500
commit97fc87a3924c8b51e90b7d359cc585cbfa972e58 (patch)
tree6ebac3d878d36afd9911a1ec8b546cbc85669b59 /lisp/vc/vc-hg.el
parent5ec3853326933bef899de1a8fee66d902ea8f7c9 (diff)
downloademacs-97fc87a3924c8b51e90b7d359cc585cbfa972e58.tar.gz
* lisp/vc/vc-hg.el, lisp/vc/vc-git.el: Flush the 'vc-functions' cache.
Diffstat (limited to 'lisp/vc/vc-hg.el')
-rw-r--r--lisp/vc/vc-hg.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el
index 08b1be8f6d3..ad817fd9b9c 100644
--- a/lisp/vc/vc-hg.el
+++ b/lisp/vc/vc-hg.el
@@ -175,6 +175,10 @@ highlighting the Log View buffer."
:version "24.5")
+;; Clear up the cache to force vc-call to check again and discover
+;; new functions when we reload this file.
+(put 'Hg 'vc-functions nil)
+
;;; Properties of the backend
(defvar vc-hg-history nil)