From 011279a63c39c77a3f36ce34865f3302dff69b5a Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Thu, 15 Nov 2007 03:21:46 +0000 Subject: [PATCH] (calc-menu): Make menu visible only in Calc buffer. --- lisp/calc/calc-menu.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/calc/calc-menu.el b/lisp/calc/calc-menu.el index 6cc356f87f8..1e8259bdf62 100644 --- a/lisp/calc/calc-menu.el +++ b/lisp/calc/calc-menu.el @@ -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 -- 2.39.2