changeset 64801:da6e5acb4109

(auto-revert-tail-mode): Use make-local-variable, not make-variable-buffer-local.
author Richard M. Stallman <rms@gnu.org>
date Tue, 09 Aug 2005 02:55:00 +0000
parents bf2ce0e2b48b
children 4f150b99e062
files lisp/autorevert.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/autorevert.el	Tue Aug 09 02:54:39 2005 +0000
+++ b/lisp/autorevert.el	Tue Aug 09 02:55:00 2005 +0000
@@ -340,7 +340,7 @@
       ;; else we might reappend our own end when we save
       (add-hook 'before-save-hook (lambda () (auto-revert-tail-mode 0)) nil t)
       (or (local-variable-p 'auto-revert-tail-pos) ; don't lose prior position
-	  (set (make-variable-buffer-local 'auto-revert-tail-pos)
+	  (set (make-local-variable 'auto-revert-tail-pos)
 	       (save-restriction (widen) (1- (point-max)))))
       ;; let auto-revert-mode set up the mechanism for us if it isn't already
       (or auto-revert-mode