[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 c892ae6: Repair global-auto-revert-ignore-modes (bug#42271)

From: Mattias Engdegård
Subject: emacs-27 c892ae6: Repair global-auto-revert-ignore-modes (bug#42271)
Date: Thu, 9 Jul 2020 03:31:24 -0400 (EDT)

branch: emacs-27
commit c892ae65b431f76054a7a8677ca064e298578340
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Repair global-auto-revert-ignore-modes (bug#42271)
    Reported by Gustavo Tavares Cabral.
    * lisp/autorevert.el (auto-revert--global-add-current-buffer): Fix typo.
 lisp/autorevert.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/autorevert.el b/lisp/autorevert.el
index 3151b6e..011febf 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
-             (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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]