* [PATCH 1/2] Add menu for ielm.
@ 2013-05-23 11:42 Rüdiger Sonderfeld
2013-05-23 15:28 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Rüdiger Sonderfeld @ 2013-05-23 11:42 UTC (permalink / raw)
To: emacs-devel
* lisp/ielm.el (ielm-menu): Add menu for ielm.
Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
---
lisp/ielm.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lisp/ielm.el b/lisp/ielm.el
index d908008..e63c11d 100644
--- a/lisp/ielm.el
+++ b/lisp/ielm.el
@@ -184,6 +184,14 @@ This variable is buffer-local.")
"Keymap for IELM mode.")
(defvaralias 'inferior-emacs-lisp-mode-map 'ielm-map)
+(require 'easymenu)
+(easy-menu-define ielm-menu ielm-map
+ "IELM mode menu."
+ '("IELM"
+ ["Change Working Buffer" ielm-change-working-buffer t]
+ ["Display Working Buffer" ielm-display-working-buffer t]
+ ["Print Working Buffer" ielm-print-working-buffer t]))
+
(defvar ielm-font-lock-keywords
'(("\\(^\\*\\*\\*[^*]+\\*\\*\\*\\)\\(.*$\\)"
(1 font-lock-comment-face)
--
1.8.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-23 15:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-23 11:42 [PATCH 1/2] Add menu for ielm Rüdiger Sonderfeld
2013-05-23 15:28 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.