From cd03509c544455b746a61550c57476ddddae6a3f Mon Sep 17 00:00:00 2001 From: Federico Tedin Date: Tue, 12 Mar 2019 20:06:49 -0300 Subject: [PATCH 1/1] 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) --- lisp/emacs-lisp/edebug.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 2cd8e48d6e..8b4cb1adc7 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -3602,9 +3602,7 @@ edebug-eval-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)) -- 2.17.1