summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-05-11 22:49:25 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-05-11 22:49:25 +0200
commit34dc298869d4be2c7732a9ebb43941d242f113dd (patch)
tree34f2f272fc32c12a7df89e4d4cb325f07ef4355b
parentee5d40b001951d2d056f709f10c7dca19456bef5 (diff)
downloadorg-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.el2
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)