From e84c695ddab8539631dedd8888b0ca9d2146deea Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 19 Mar 2001 22:23:03 +0000 Subject: [PATCH] (mode-line-mode-menu): `glasses-mode' might be unbound. (completion-ignored-extensions): Remove duplicate ".class". --- lisp/ChangeLog | 5 +++++ lisp/bindings.el | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 400dc66a892..c0e93604e22 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2001-03-19 Stefan Monnier + + * bindings.el (mode-line-mode-menu): `glasses-mode' might be unbound. + (completion-ignored-extensions): Remove duplicate ".class". + 2001-03-19 Andreas Schwab * textmodes/reftex-dcr.el (reftex-view-crossref): Doc fix. From diff --git a/lisp/bindings.el b/lisp/bindings.el index 3d9c6604aef..9d203ec9088 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -324,7 +324,7 @@ Return a string to display in the mode line for the current mode name." :button (:toggle . highlight-changes-mode))) (define-key mode-line-mode-menu [glasses-mode] `(menu-item ,(purecopy "Glasses") glasses-mode - :button (:toggle . glasses-mode))) + :button (:toggle . (bound-and-true-p glasses-mode)))) (define-key mode-line-mode-menu [hide-ifdef-mode] `(menu-item ,(purecopy "Hide ifdef") hide-ifdef-mode :button (:toggle . (bound-and-true-p hide-ifdef-mode)))) @@ -414,8 +414,6 @@ buffer, mouse-2: prev, M-mouse-2: next, mouse-3: buffer menu") ".x86f" ".sparcf" ;; Libtool ".lo" ".la" - ;; Java - ".class" ;; Texinfo-related ".toc" ".log" ".aux" ".cp" ".fn" ".ky" ".pg" ".tp" ".vr" -- 2.39.2