mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-07 15:22:06 +00:00
`which-function' does not return a list, but the name of the function
* org-test.el (org-test-current-defun): `which-function' does not return a list, but the name of the function.
This commit is contained in:
parent
f0d2bcb1bf
commit
f99197e143
@ -197,7 +197,7 @@ files."
|
||||
(defun org-test-current-defun ()
|
||||
"Test the current function."
|
||||
(interactive)
|
||||
(ert (car (which-function))))
|
||||
(ert (which-function)))
|
||||
|
||||
(defun org-test-run-all-tests ()
|
||||
"Run all defined tests matching \"\\(org\\|ob\\)\".
|
||||
|
Loading…
Reference in New Issue
Block a user