mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(auto-revert-tail-mode): Use make-local-variable,
not make-variable-buffer-local.
This commit is contained in:
parent
08dcfdf600
commit
f373470deb
1 changed files with 1 additions and 1 deletions
|
|
@ -340,7 +340,7 @@ Use `auto-revert-mode' for changes other than appends!"
|
|||
;; 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue