mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-22 18:35:09 +00:00
(auto-revert-handler): Bind `buffer-read-only' locally around the call
to `revert-buffer'.
This commit is contained in:
parent
9e68f42d8e
commit
90e118abf2
@ -1,3 +1,8 @@
|
||||
2004-09-03 Luc Teirlinck <teirllm@auburn.edu>
|
||||
|
||||
* autorevert.el (auto-revert-handler): Bind `buffer-read-only'
|
||||
locally around the call to `revert-buffer'.
|
||||
|
||||
2004-09-03 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* isearch.el (isearch-toggle-regexp): Set `isearch-success' and
|
||||
|
@ -421,7 +421,8 @@ This is an internal function used by Auto-Revert Mode."
|
||||
'no-mini t))
|
||||
(if auto-revert-tail-mode
|
||||
(auto-revert-tail-handler)
|
||||
(revert-buffer 'ignore-auto 'dont-ask 'preserve-modes))
|
||||
(let ((buffer-read-only buffer-read-only))
|
||||
(revert-buffer 'ignore-auto 'dont-ask 'preserve-modes)))
|
||||
(when buffer-file-name
|
||||
(when eob (goto-char (point-max)))
|
||||
(dolist (window eoblist)
|
||||
|
Loading…
Reference in New Issue
Block a user