Comment change.
This commit is contained in:
parent
3b113cb99f
commit
7ebc19f979
1 changed files with 3 additions and 0 deletions
|
@ -421,6 +421,9 @@ This is an internal function used by Auto-Revert Mode."
|
|||
'no-mini t))
|
||||
(if auto-revert-tail-mode
|
||||
(auto-revert-tail-handler)
|
||||
;; Bind buffer-read-only in case user has done C-x C-q,
|
||||
;; so as not to forget that. This gives undesirable results
|
||||
;; when the file's mode changes, but that is less common.
|
||||
(let ((buffer-read-only buffer-read-only))
|
||||
(revert-buffer 'ignore-auto 'dont-ask 'preserve-modes)))
|
||||
(when buffer-file-name
|
||||
|
|
Loading…
Add table
Reference in a new issue