diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-05-11 22:49:25 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-05-11 22:49:25 +0200 |
commit | 34dc298869d4be2c7732a9ebb43941d242f113dd (patch) | |
tree | 34f2f272fc32c12a7df89e4d4cb325f07ef4355b | |
parent | ee5d40b001951d2d056f709f10c7dca19456bef5 (diff) | |
download | org-mode-34dc298869d4be2c7732a9ebb43941d242f113dd.tar.gz |
org-agenda: Fix `org-agenda-bulk-custom-functions' supported Customize type
* org-agenda.el (`org-agenda-bulk-custom-functions'): Change the defcustom
template to recognize that the code expects this alist's elements to be
two-element lists like (?a b), not conses like (?a . b).
The Customize UI previously incorrectly presented the latter. When
saved, this led to the agenda bulk-commands menu correctly presenting
the accelerator key 'a' but then erroring when it tried to execute the
associated command 'b'.
-rw-r--r-- | lisp/org-agenda.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 535a6fb..2723237 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -1999,7 +1999,7 @@ For example, this value makes those two functions available: With selected entries in an agenda buffer, `B R' will call the custom function `set-category' on the selected entries. Note that functions in this alist don't need to be quoted." - :type 'alist + :type '(alist :key-type character :value-type (group function)) :version "24.1" :group 'org-agenda) |