changeset 36882:595b423a9b3f

(mode-line-mode-menu): `glasses-mode' might be unbound. (completion-ignored-extensions): Remove duplicate ".class".
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 19 Mar 2001 22:22:21 +0000
parents 61f79d7bd19f
children 2ff03c8cbc56
files lisp/bindings.el
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/bindings.el	Mon Mar 19 18:50:47 2001 +0000
+++ b/lisp/bindings.el	Mon Mar 19 22:22:21 2001 +0000
@@ -324,7 +324,7 @@
 	      :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 @@
 	 ".x86f" ".sparcf"
 	 ;; Libtool
 	 ".lo" ".la"
-	 ;; Java
-	 ".class"
 	 ;; Texinfo-related
 	 ".toc" ".log" ".aux"
 	 ".cp" ".fn" ".ky" ".pg" ".tp" ".vr"