# HG changeset patch # User FUJIWARA Katsunori # Date 2006-07-22 14:30:19 # Node ID 92ba858ed640dd7283bf61008b9ad879b6cd8433 # Parent ebf033bc8eb2ba314967f8db8790db9716c25638 Emacs: apply kill-local-variable instead of make-local-variable to FORGET diff --git a/contrib/mercurial.el b/contrib/mercurial.el --- a/contrib/mercurial.el +++ b/contrib/mercurial.el @@ -972,7 +972,8 @@ With a prefix argument, prompt for the p (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)