Commit 8782c06b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(debugger-eval-expression): Use a history list.

parent 46e65b73
......@@ -266,7 +266,11 @@ Applies to the frame whose line point is on in the backtrace."
(beginning-of-line))
(defun debugger-eval-expression (exp)
(interactive "xEval: ")
"Eval an expression, in an environment like that outside the debugger."
(interactive
(list (read-from-minibuffer "Eval: "
nil read-expression-map t
'read-expression-history)))
(save-excursion
(if (null (buffer-name debugger-old-buffer))
;; old buffer deleted
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment