contrib/mercurial.el
changeset 2667 92ba858ed640
parent 2518 d78ae783499d
child 2668 7a32b7e6c563
--- a/contrib/mercurial.el	Mon Jul 24 23:06:05 2006 -0700
+++ b/contrib/mercurial.el	Sat Jul 22 23:30:19 2006 +0900
@@ -972,7 +972,8 @@
       (cd (hg-root path)))
     (when update
       (with-current-buffer buf
-	(set (make-local-variable 'backup-inhibited) nil)
+        (when (local-variable-p 'backup-inhibited)
+          (kill-local-variable 'backup-inhibited))
 	(hg-mode-line)))))
 
 (defun hg-incoming (&optional repo)