branch: externals/inspector
commit 4d409a67152cfa31f3e16fbc516ae07b1d329f6c
Author: Mariano Montone <marianomont...@gmail.com>
Commit: Mariano Montone <marianomont...@gmail.com>

    Evaluate in menu
---
 inspector.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/inspector.el b/inspector.el
index 5cfbf15919..b900ff54ad 100644
--- a/inspector.el
+++ b/inspector.el
@@ -287,6 +287,7 @@ If LABEL has a value, then it is used as button label.  
Otherwise, button label
   (let ((buffer (get-buffer-create "*inspector*")))
     (with-current-buffer buffer
       (inspector-mode)
+      ;;(emacs-lisp-mode)
       (setq buffer-read-only nil)
       (erase-buffer)
       (make-local-variable '*))
@@ -353,6 +354,7 @@ When ADD-TO-HISTORY is T, OBJECT is added to inspector 
history for navigation pu
  "Menu for inspector."
  '("Inspector"
    ["Previous" inspector-pop :help "Inpect previous object"]
+   ["Evaluate" eval-expression :help "Evaluate expression with current 
inspected object as context"]
    ["Exit" inspector-quit :help "Quit the Emacs Lisp inspector"]))
 
 (defvar inspector-tool-bar-map

Reply via email to