]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/vc/vc-hg.el, lisp/vc/vc-git.el: Flush the 'vc-functions' cache.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 19 Jan 2018 01:11:34 +0000 (20:11 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 19 Jan 2018 01:11:34 +0000 (20:11 -0500)
lisp/vc/vc-git.el
lisp/vc/vc-hg.el

index 626cf6165a370ba89574d5bf80cb4bbfa676055a..2d6ca1386a359d708629bc96ae69bc3dab9e1aeb 100644 (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)
index 08b1be8f6d3b9e90bcb874711b3af57ed6d10ed0..ad817fd9b9c64d59b7a7fae8df254b116a32a3d6 100644 (file)
@@ -175,6 +175,10 @@ highlighting the Log View buffer."
   :version "24.5")
 
 \f
+;; 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)