1
0
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:
David Maus 2010-11-02 21:11:16 +01:00
parent f0d2bcb1bf
commit f99197e143

View File

@ -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\\)\".