branch: master commit 0aa0bf84bdcbb86784358ab087a2805240cb41da Author: Ian Dunn <du...@gnu.org> Commit: Ian Dunn <du...@gnu.org>
Don't present variables for keyword completion * org-edna.el (org-edna--collect-keywords): Check that symbols that match the patterns are bound as functions. --- org-edna.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-edna.el b/org-edna.el index 54c93ba..d9c16d4 100644 --- a/org-edna.el +++ b/org-edna.el @@ -1195,7 +1195,7 @@ the source buffer. Finish with `C-c C-c' or abort with `C-c C-k'") string-end)))) (mapatoms (lambda (s) - (when (string-match edna-rx (symbol-name s)) + (when (and (string-match edna-rx (symbol-name s)) (fboundp s)) (cl-pushnew (concat (match-string-no-properties 1 (symbol-name s)) suffix) edna-sym-list)))) edna-sym-list))