From: Federico Tedin Date: Tue, 12 Mar 2019 23:06:49 +0000 (-0300) Subject: Make edebug-eval-expression support code completion X-Git-Tag: emacs-27.0.90~3368 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a0b1c40233408f805eff6b440dbbe2bcba2994ee;p=emacs.git Make edebug-eval-expression support code completion * lisp/emacs-lisp/edebug.el (edebug-eval-expression): Use read--expression instead of read-from-minibuffer. (Bug#34065) --- diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 2cd8e48d6e9..8b4cb1adc79 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -3602,9 +3602,7 @@ Return the result of the last expression." "Evaluate an expression in the outside environment. If interactive, prompt for the expression. Print result in minibuffer." - (interactive (list (read-from-minibuffer - "Eval: " nil read-expression-map t - 'read-expression-history))) + (interactive (list (read--expression "Eval: "))) (princ (edebug-outside-excursion (setq values (cons (edebug-eval expr) values))