changeset 86077:65abbd39f5eb

(calc-menu): Make menu visible only in Calc buffer.
author Jay Belanger <jay.p.belanger@gmail.com>
date Thu, 15 Nov 2007 03:21:46 +0000
parents 41d5d55ebca0
children edd1a1c30752
files lisp/calc/calc-menu.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc-menu.el	Thu Nov 15 02:57:46 2007 +0000
+++ b/lisp/calc/calc-menu.el	Thu Nov 15 03:21:46 2007 +0000
@@ -1098,6 +1098,7 @@
   calc-mode-map
   "Menu for Calc."
   (list "Calc"
+        :visible '(eq major-mode 'calc-mode)
         calc-arithmetic-menu
         calc-scientific-function-menu
         calc-algebra-menu