From 9f37aef4f531d5ca17e8c14a6b756836c31089fb Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Sat, 21 Oct 2006 23:42:21 +0000 Subject: [PATCH] (mode-line-mode-menu): Disable auto-revert-tail-mode indicator if not visiting a file. --- lisp/bindings.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/bindings.el b/lisp/bindings.el index d077e641ac1..a223596c351 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -455,6 +455,7 @@ Menu of mode operations in the mode line.") :button (:toggle . column-number-mode))) (define-key mode-line-mode-menu [auto-revert-tail-mode] `(menu-item ,(purecopy "Auto revert tail (Tail)") auto-revert-tail-mode + :enable (buffer-file-name) :button (:toggle . (bound-and-true-p auto-revert-tail-mode)))) (define-key mode-line-mode-menu [auto-revert-mode] `(menu-item ,(purecopy "Auto revert (ARev)") auto-revert-mode -- 2.39.2