]> git.eshelyaron.com Git - emacs.git/commitdiff
(calc-menu): Make menu visible only in Calc buffer.
authorJay Belanger <jay.p.belanger@gmail.com>
Thu, 15 Nov 2007 03:21:46 +0000 (03:21 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Thu, 15 Nov 2007 03:21:46 +0000 (03:21 +0000)
lisp/calc/calc-menu.el

index 6cc356f87f80440268db02fcc68a4daf937aaf0a..1e8259bdf6241118cb84600d2d4ea19f528a850f 100644 (file)
   calc-mode-map
   "Menu for Calc."
   (list "Calc"
+        :visible '(eq major-mode 'calc-mode)
         calc-arithmetic-menu
         calc-scientific-function-menu
         calc-algebra-menu