Merge from origin/emacs-28

34ca4ff9a5 Fix Edebug specification for inline functions (Bug#53068).
3c06c37a8b Remove mention of removed `gnus-treat-play-sounds' variabl...
This commit is contained in:
Stefan Kangas 2022-01-14 06:30:23 +01:00
commit b9fecb0dae
3 changed files with 11 additions and 4 deletions

View file

@ -1094,5 +1094,15 @@ This avoids potential duplicate definitions (Bug#41988)."
(edebug-new-definition name))))
(should-error (eval-buffer) :type 'invalid-read-syntax))))
(ert-deftest edebug-tests-inline ()
"Check that Edebug can instrument inline functions (Bug#53068)."
(with-temp-buffer
(print '(define-inline edebug-tests-inline (arg)
(inline-quote ,arg))
(current-buffer))
(let ((edebug-all-defs t)
(edebug-initial-mode 'Go-nonstop))
(eval-buffer))))
(provide 'edebug-tests)
;;; edebug-tests.el ends here