aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-08-09 02:55:00 +0000
committerRichard M. Stallman2005-08-09 02:55:00 +0000
commitf373470debdd17410474b52b177941a569b64794 (patch)
tree3b23e3d0417bca9ab77ae53418b05b19c4d1e1f6
parent08dcfdf600a6bde303f264938b39204d4830a0f6 (diff)
downloademacs-f373470debdd17410474b52b177941a569b64794.tar.gz
emacs-f373470debdd17410474b52b177941a569b64794.zip
(auto-revert-tail-mode): Use make-local-variable,
not make-variable-buffer-local.
-rw-r--r--lisp/autorevert.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/autorevert.el b/lisp/autorevert.el
index ec21488c6d4..9892dca2d41 100644
--- a/lisp/autorevert.el
+++ b/lisp/autorevert.el
@@ -340,7 +340,7 @@ Use `auto-revert-mode' for changes other than appends!"
340 ;; else we might reappend our own end when we save 340 ;; else we might reappend our own end when we save
341 (add-hook 'before-save-hook (lambda () (auto-revert-tail-mode 0)) nil t) 341 (add-hook 'before-save-hook (lambda () (auto-revert-tail-mode 0)) nil t)
342 (or (local-variable-p 'auto-revert-tail-pos) ; don't lose prior position 342 (or (local-variable-p 'auto-revert-tail-pos) ; don't lose prior position
343 (set (make-variable-buffer-local 'auto-revert-tail-pos) 343 (set (make-local-variable 'auto-revert-tail-pos)
344 (save-restriction (widen) (1- (point-max))))) 344 (save-restriction (widen) (1- (point-max)))))
345 ;; let auto-revert-mode set up the mechanism for us if it isn't already 345 ;; let auto-revert-mode set up the mechanism for us if it isn't already
346 (or auto-revert-mode 346 (or auto-revert-mode