# HG changeset patch # User Richard M. Stallman # Date 764368860 0 # Node ID b0c7319975449d2d89c67785757fd4494bd1b4ab # Parent 53c14a4f9307e78f5dfea1e3d2e4300ab927e4c4 (debugger-eval-expression): Use a history list. diff -r 53c14a4f9307 -r b0c731997544 lisp/emacs-lisp/debug.el --- a/lisp/emacs-lisp/debug.el Tue Mar 22 20:18:06 1994 +0000 +++ b/lisp/emacs-lisp/debug.el Tue Mar 22 20:41:00 1994 +0000 @@ -266,7 +266,11 @@ (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