aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorStefan Kangas2023-03-22 06:30:12 +0100
committerStefan Kangas2023-03-22 06:30:12 +0100
commit2d0de863618fd0341a5a781c26bf774e304ffd45 (patch)
tree0dc798658c7266775794a96950c088de720687b4 /test/src
parent5904bdf581974cb8bf88534bbc58b13cca797303 (diff)
parent8b6a0de964d61cb8d57ed3fe65086fa305a3c53e (diff)
downloademacs-2d0de863618fd0341a5a781c26bf774e304ffd45.tar.gz
emacs-2d0de863618fd0341a5a781c26bf774e304ffd45.zip
Merge from origin/emacs-29
8b6a0de964d Improve docstring of treesit-parent-while (bug#62301) 35648a86730 ; Delete accidental leftover '()' Eglot function 47d8e4b0d38 Eglot: report window/workDoneProgress capability to langu... 4a7a0c9a9f5 * lisp/emacs-lisp/comp.el (comp-emit-set-call-subr): Impr... 4a6eefb93a5 Expand defvar-keymap documentation 7a1272168af * lisp/treesit.el (treesit-end-of-defun): Guard arg again... 263d6c38539 Comp fix calls to redefined primtives with op-bytecode (b... 6bf441ff115 Warn package authors away from keymap-unset with REMOVE 786de66ec3c Comment out jobs on EMBA eed240bc022 Improve defvar-keymap docstring.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/comp-tests.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el
index 926ba27e563..1615b2838fc 100644
--- a/test/src/comp-tests.el
+++ b/test/src/comp-tests.el
@@ -532,6 +532,19 @@ https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-03/msg00914.html."
532 (should (subr-native-elisp-p 532 (should (subr-native-elisp-p
533 (symbol-function 'comp-test-48029-nonascii-žžž-f)))) 533 (symbol-function 'comp-test-48029-nonascii-žžž-f))))
534 534
535(comp-deftest 61917-1 ()
536 "Verify we can compile calls to redefined primitives with
537dedicated byte-op code."
538 (let ((f (lambda (fn &rest args)
539 (apply fn args))))
540 (advice-add #'delete-region :around f)
541 (unwind-protect
542 (should (subr-native-elisp-p
543 (native-compile
544 '(lambda ()
545 (delete-region (point-min) (point-max))))))
546 (advice-remove #'delete-region f))))
547
535 548
536;;;;;;;;;;;;;;;;;;;;; 549;;;;;;;;;;;;;;;;;;;;;
537;; Tromey's tests. ;; 550;; Tromey's tests. ;;