mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 21:07:54 +00:00
org-lint: Fix invocation with C-u prefix argument
* lisp/org-lint.el (org-lint): Fix the order of the arguments in the `assoc-string' call when calculating the list of checkers to invoke. `C-u M-x org-lint' was failing to run any checkers, no matter what category of checkers was chosen, because the calculation of the list of checkers always returned `nil'.
This commit is contained in:
parent
1105da80a7
commit
9fd5349d0a
|
@ -321,7 +321,7 @@ ARG can also be a list of checker names, as symbols, to run."
|
||||||
nil t)))
|
nil t)))
|
||||||
(cl-remove-if-not
|
(cl-remove-if-not
|
||||||
(lambda (c)
|
(lambda (c)
|
||||||
(assoc-string (org-lint-checker-categories c) category))
|
(assoc-string category (org-lint-checker-categories c)))
|
||||||
org-lint--checkers)))
|
org-lint--checkers)))
|
||||||
(`(16)
|
(`(16)
|
||||||
(list
|
(list
|
||||||
|
|
Loading…
Reference in a new issue