Mercurial > hg
changeset 2667:92ba858ed640
Emacs: apply kill-local-variable instead of make-local-variable to FORGET
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Sat, 22 Jul 2006 23:30:19 +0900 |
parents | ebf033bc8eb2 |
children | 7a32b7e6c563 |
files | contrib/mercurial.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)