]> git.eshelyaron.com Git - emacs.git/commit
Fix instrumented eval-defun not printing "Edebug:" to the echo area
authorDaniel Martín <mardani29@yahoo.es>
Thu, 25 Aug 2022 12:37:36 +0000 (14:37 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 25 Aug 2022 12:37:36 +0000 (14:37 +0200)
commitdbec115948657d4f0b5c8ad86410b8e1c9e825d2
tree560370ac70ab6042042e696a39e2121bf9b0b233
parentb947f80a623c9a8c6abd2bcd4e2e245af6b0e03a
Fix instrumented eval-defun not printing "Edebug:" to the echo area

* lisp/progmodes/elisp-mode.el (elisp--eval-defun): Determine if we're
instrumenting a function and call eval-region with PRINTFLAG set to
nil if so (Bug#50245).

* test/lisp/progmodes/elisp-mode-tests.el
(eval-defun-prints-edebug-when-instrumented): Add a new test.
lisp/progmodes/elisp-mode.el
test/lisp/progmodes/elisp-mode-tests.el