Subject: [patch] Menu for IELM
From: Xue Fuqiao <[email-masked]>
To: [email-masked]
Date: Sat, 16 Feb 2013 13:15:58 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

I thought that IELM should have a menu, so I made a patch.

*** trunk/lisp/ielm.el	2013-02-03 09:46:50.383143000 +0800
--- ielm-menu/lisp/ielm.el	2013-02-16 12:48:18.453722888 +0800
*************** This variable is buffer-local.")
*** 182,187 ****
--- 182,193 ----
      (define-key map "\C-c\C-v" 'ielm-print-working-buffer)
      map)
    "Keymap for IELM mode.")
+ (easy-menu-define ielm-menu ielm-map
+   "Menu for IELM mode."
+   '("IELM"
+     ["Evaluate S-expression" ielm-send-input]
+     ["Change Working Buffer" ielm-change-working-buffer]
+     ["Display Working Buffer" ielm-display-working-buffer]))
  (defvaralias 'inferior-emacs-lisp-mode-map 'ielm-map)
  
  (defvar ielm-font-lock-keywords

*** trunk/lisp/ChangeLog	2013-02-10 19:50:32.740492000 +0800
--- ielm-menu/lisp/ChangeLog	2013-02-16 13:10:44.388397005 +0800
***************
*** 1,3 ****
--- 1,7 ----
+ 2013-02-16  Xue Fuqiao  <[email-masked]>
+ 
+ 	* ielm.el: (ielm-map): Add a menu for IELM.
+ 
  2013-02-10  Chong Yidong  <[email-masked]>
  
  	* files.el (basic-save-buffer-1): Do not set

-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao