* lisp/vc/vc-hg.el, lisp/vc/vc-git.el: Flush the 'vc-functions' cache.

This commit is contained in:
Stefan Monnier 2018-01-18 20:11:34 -05:00
parent 5ec3853326
commit 97fc87a392
2 changed files with 8 additions and 0 deletions

View file

@ -183,6 +183,10 @@ Should be consistent with the Git config value i18n.logOutputEncoding."
;; History of Git commands.
(defvar vc-git-history nil)
;; Clear up the cache to force vc-call to check again and discover
;; new functions when we reload this file.
(put 'Git 'vc-functions nil)
;;; BACKEND PROPERTIES
(defun vc-git-revision-granularity () 'repository)

View file

@ -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)