org-mouse: Fix keyword selection menu

* lisp/org-mouse.el (org-mouse-keyword-menu): Fix void-variable error
when selecting todo keyword.

Reported in https://list.orgmode.org/CAFChFyjzuBtr8BeGTb195AVoGbUKFtXf35vvv-r0mzOy0wvZ2Q@mail.gmail.com/T/#u
This commit is contained in:
Ihor Radchenko 2022-03-19 16:04:41 +08:00
parent 668205f769
commit af6f1298b6
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ nor a function, elements of KEYWORDS are used directly."
((functionp itemformat) (funcall itemformat keyword)) ((functionp itemformat) (funcall itemformat keyword))
((stringp itemformat) (format itemformat keyword)) ((stringp itemformat) (format itemformat keyword))
(t keyword)) (t keyword))
(list 'funcall function keyword) `(funcall #',function ,keyword)
:style (cond :style (cond
((null selected) t) ((null selected) t)
((functionp selected) 'toggle) ((functionp selected) 'toggle)