From: Stefan Monnier Date: Fri, 29 Jul 2005 20:55:36 +0000 (+0000) Subject: (next-error-follow-minor-mode): X-Git-Tag: emacs-pretest-22.0.90~7835 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e56dd5c6164463d79d57f042e372214fff143212;p=emacs.git (next-error-follow-minor-mode): make-variable-buffer-local -> make-local-variable. --- diff --git a/lisp/simple.el b/lisp/simple.el index 40a2dae129a..5e5a5c71aaa 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -313,7 +313,7 @@ location." (if (not next-error-follow-minor-mode) (remove-hook 'post-command-hook 'next-error-follow-mode-post-command-hook t) (add-hook 'post-command-hook 'next-error-follow-mode-post-command-hook nil t) - (make-variable-buffer-local 'next-error-follow-last-line))) + (make-local-variable 'next-error-follow-last-line))) ;;; Used as a `post-command-hook' by `next-error-follow-mode' ;;; for the *Compilation* *grep* and *Occur* buffers.