unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [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

* Re: [PATCH 1/2] Add menu for ielm.
  2013-05-23 11:42 [PATCH 1/2] Add menu for ielm Rüdiger Sonderfeld
@ 2013-05-23 15:28 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2013-05-23 15:28 UTC (permalink / raw)
  To: Rüdiger Sonderfeld; +Cc: emacs-devel

 
> +(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]))

Thanks, installed (tho without the redundant require), along with the
other patch.


        Stefan



^ permalink raw reply	[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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).