branch: master commit f6feccf3d480ac5f041c2d8ac1c0592049314d50 Author: Ian Dunn <du...@gnu.org> Commit: Ian Dunn <du...@gnu.org>
Fix bug in keyword completion * org-edna.el (org-edna--collect-keywords): Use let* instead of let. --- org-edna.el | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/org-edna.el b/org-edna.el index 33ba1cb..c01d354 100644 --- a/org-edna.el +++ b/org-edna.el @@ -1183,16 +1183,16 @@ the source buffer. Finish with `C-c C-c' or abort with `C-c C-k'\n\n") (point-max-marker))) (defun org-edna--collect-keywords (keyword-type &optional suffix) - (let ((suffix (or suffix "")) - (edna-sym-list) - (edna-rx (rx-to-string `(and - string-start - "org-edna-" - ,keyword-type - "/" - (submatch (one-or-more ascii)) - ,suffix - string-end)))) + (let* ((suffix (or suffix "")) + (edna-sym-list) + (edna-rx (rx-to-string `(and + string-start + "org-edna-" + ,keyword-type + "/" + (submatch (one-or-more ascii)) + ,suffix + string-end)))) (mapatoms (lambda (s) (when (and (string-match edna-rx (symbol-name s)) (fboundp s))