Subject: bug#13729: [patch] Menu for IELM

From: Xue Fuqiao <[email-masked]>
Date: Mon, 18 Feb 2013 08:07:31 +0800

There is a little bug, please use the following patch.

*** trunk/lisp/ChangeLog.orig	2013-02-17 22:42:17.309803000 +0800
--- trunk/lisp/ChangeLog	2013-02-18 08:04:51.758106415 +0800
***************
*** 1,3 ****
--- 1,7 ----
+ 2013-02-18  Xue Fuqiao  <xfq.free <at> gmail.com>
+ 
+ 	* ielm.el: (ielm-map): Add a menu for IELM.
+ 
  2013-02-17  Glenn Morris  <[email-masked]>
  
  	* menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.

*** trunk/lisp/ielm.el.orig	2013-02-03 09:46:50.383143000 +0800
--- trunk/lisp/ielm.el	2013-02-18 08:03:29.641699220 +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

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