From: Mattias EngdegÄrd Date: Thu, 9 Jul 2020 07:28:12 +0000 (+0200) Subject: Repair global-auto-revert-ignore-modes (bug#42271) X-Git-Tag: emacs-27.1-rc1~40 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c892ae65b4;p=emacs.git Repair global-auto-revert-ignore-modes (bug#42271) Reported by Gustavo Tavares Cabral. * lisp/autorevert.el (auto-revert--global-add-current-buffer): Fix typo. --- diff --git a/lisp/autorevert.el b/lisp/autorevert.el index 3151b6e590d..011febfe728 100644 --- a/lisp/autorevert.el +++ b/lisp/autorevert.el @@ -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