* testing/lisp/test-org.el (test-org/return): Use `call-interactively'
so that `interactive' arguments are also checked.
This commit is contained in:
Nicolas Goaziou 2020-05-15 00:48:26 +02:00
parent 817acdcdfb
commit 48b223d45d
1 changed files with 1 additions and 1 deletions

View File

@ -1223,7 +1223,7 @@
(let ((org-return-follows-link t)
(org-link-search-must-match-exact-headline nil))
(setq buffer-read-only t)
(org-return))
(call-interactively #'org-return))
(looking-at-p "<<target>>")))
;; `org-return-follows-link' handle multi-line lines.
(should