Commit c892ae65 authored by Mattias Engdegård's avatar Mattias Engdegård

Repair global-auto-revert-ignore-modes (bug#42271)

Reported by Gustavo Tavares Cabral.

* lisp/autorevert.el (auto-revert--global-add-current-buffer): Fix typo.
parent 3a446a02
Pipeline #6012 failed with stage
in 40 minutes and 59 seconds
...@@ -543,7 +543,7 @@ specifies in the mode line." ...@@ -543,7 +543,7 @@ specifies in the mode line."
;; we wouldn't know when to revert it otherwise. ;; we wouldn't know when to revert it otherwise.
(not (eq buffer-stale-function (not (eq buffer-stale-function
#'buffer-stale--default-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) (or (null global-auto-revert-ignore-buffer)
(if (functionp global-auto-revert-ignore-buffer) (if (functionp global-auto-revert-ignore-buffer)
(not (funcall global-auto-revert-ignore-buffer (not (funcall global-auto-revert-ignore-buffer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment