aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2018-01-18 20:11:34 -0500
committerStefan Monnier2018-01-18 20:11:34 -0500
commit97fc87a3924c8b51e90b7d359cc585cbfa972e58 (patch)
tree6ebac3d878d36afd9911a1ec8b546cbc85669b59
parent5ec3853326933bef899de1a8fee66d902ea8f7c9 (diff)
downloademacs-97fc87a3924c8b51e90b7d359cc585cbfa972e58.tar.gz
emacs-97fc87a3924c8b51e90b7d359cc585cbfa972e58.zip
* lisp/vc/vc-hg.el, lisp/vc/vc-git.el: Flush the 'vc-functions' cache.
-rw-r--r--lisp/vc/vc-git.el4
-rw-r--r--lisp/vc/vc-hg.el4
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 626cf6165a3..2d6ca1386a3 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -183,6 +183,10 @@ Should be consistent with the Git config value i18n.logOutputEncoding."
183;; History of Git commands. 183;; History of Git commands.
184(defvar vc-git-history nil) 184(defvar vc-git-history nil)
185 185
186;; Clear up the cache to force vc-call to check again and discover
187;; new functions when we reload this file.
188(put 'Git 'vc-functions nil)
189
186;;; BACKEND PROPERTIES 190;;; BACKEND PROPERTIES
187 191
188(defun vc-git-revision-granularity () 'repository) 192(defun vc-git-revision-granularity () 'repository)
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."
175 :version "24.5") 175 :version "24.5")
176 176
177 177
178;; Clear up the cache to force vc-call to check again and discover
179;; new functions when we reload this file.
180(put 'Hg 'vc-functions nil)
181
178;;; Properties of the backend 182;;; Properties of the backend
179 183
180(defvar vc-hg-history nil) 184(defvar vc-hg-history nil)