Repair global-auto-revert-ignore-modes (bug#42271)
Reported by Gustavo Tavares Cabral. * lisp/autorevert.el (auto-revert--global-add-current-buffer): Fix typo.
This commit is contained in:
parent
3a446a02fb
commit
c892ae65b4
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ specifies in the mode line."
|
|||
;; we wouldn't know when to revert it otherwise.
|
||||
(not (eq buffer-stale-function
|
||||
#'buffer-stale--default-function))))
|
||||
(not (memq 'major-mode global-auto-revert-ignore-modes))
|
||||
(not (memq major-mode global-auto-revert-ignore-modes))
|
||||
(or (null global-auto-revert-ignore-buffer)
|
||||
(if (functionp global-auto-revert-ignore-buffer)
|
||||
(not (funcall global-auto-revert-ignore-buffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue