]> git.eshelyaron.com Git - emacs.git/commitdiff
Make edebug-eval-expression support code completion
authorFederico Tedin <federicotedin@gmail.com>
Tue, 12 Mar 2019 23:06:49 +0000 (20:06 -0300)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 22 Mar 2019 04:00:43 +0000 (00:00 -0400)
* lisp/emacs-lisp/edebug.el (edebug-eval-expression): Use
  read--expression instead of read-from-minibuffer. (Bug#34065)

lisp/emacs-lisp/edebug.el

index 2cd8e48d6e91de7d24ddb31afb07479b325d126b..8b4cb1adc79b2c6c1bc95dd9ee3ecc0162ffda8e 100644 (file)
@@ -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))