]> code.delx.au - gnu-emacs/blobdiff - lisp/autorevert.el
Version 3.15
[gnu-emacs] / lisp / autorevert.el
index ec21488c6d48e6e9f6fd4ca591b4c91840a49689..9892dca2d41119ae576218c6cde5f83d8a2e16ae 100644 (file)
@@ -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