diff options
| author | Stefan Kangas | 2022-01-14 06:30:23 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2022-01-14 06:30:23 +0100 |
| commit | b9fecb0dae55774e59e4d29e2fbb5cb8615914ea (patch) | |
| tree | 3e14cff8594b454cbe4ef4d3733cb4dd8d369f5d /test | |
| parent | 7eb91aaaf41d5cb5c3c3407e7488379fce01d404 (diff) | |
| parent | 34ca4ff9a52d38250f70f578fd045490b4eef4f9 (diff) | |
| download | emacs-b9fecb0dae55774e59e4d29e2fbb5cb8615914ea.tar.gz emacs-b9fecb0dae55774e59e4d29e2fbb5cb8615914ea.zip | |
Merge from origin/emacs-28
34ca4ff9a5 Fix Edebug specification for inline functions (Bug#53068).
3c06c37a8b Remove mention of removed `gnus-treat-play-sounds' variabl...
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/emacs-lisp/edebug-tests.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/edebug-tests.el b/test/lisp/emacs-lisp/edebug-tests.el index d238bffdaa1..35259a796a0 100644 --- a/test/lisp/emacs-lisp/edebug-tests.el +++ b/test/lisp/emacs-lisp/edebug-tests.el | |||
| @@ -1094,5 +1094,15 @@ This avoids potential duplicate definitions (Bug#41988)." | |||
| 1094 | (edebug-new-definition name)))) | 1094 | (edebug-new-definition name)))) |
| 1095 | (should-error (eval-buffer) :type 'invalid-read-syntax)))) | 1095 | (should-error (eval-buffer) :type 'invalid-read-syntax)))) |
| 1096 | 1096 | ||
| 1097 | (ert-deftest edebug-tests-inline () | ||
| 1098 | "Check that Edebug can instrument inline functions (Bug#53068)." | ||
| 1099 | (with-temp-buffer | ||
| 1100 | (print '(define-inline edebug-tests-inline (arg) | ||
| 1101 | (inline-quote ,arg)) | ||
| 1102 | (current-buffer)) | ||
| 1103 | (let ((edebug-all-defs t) | ||
| 1104 | (edebug-initial-mode 'Go-nonstop)) | ||
| 1105 | (eval-buffer)))) | ||
| 1106 | |||
| 1097 | (provide 'edebug-tests) | 1107 | (provide 'edebug-tests) |
| 1098 | ;;; edebug-tests.el ends here | 1108 | ;;; edebug-tests.el ends here |