[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] org-agenda.el: Fix `org-agenda-bulk-custom-functions' suppor
[O] [PATCH] org-agenda.el: Fix `org-agenda-bulk-custom-functions' supported Customize type
Wed, 11 May 2016 16:02:13 +0100
Hope this is all correct now. If it is, I'll do the next, somewhat
bigger patch tomorrow. If not, please feed back on what I need to do
Just to reiterate: I have signed the FSF papers, so I didn't include the
cookie about the change being tiny, which I read the instructions as
saying only applies if you haven't signed the papers.
Here's the git format-patch output:
>From 256cf1f854e902de392a325ec4b9c8204fb84a21 Mon Sep 17 00:00:00 2001
From: Phil Hudson <address@hidden>
Date: Wed, 11 May 2016 15:34:12 +0100
Subject: [PATCH] org-agenda.el: 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'.
lisp/org-agenda.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index ef41678..ab280fb 100644
@@ -2008,7 +2008,7 @@ For example, this value makes those two functions
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))
Phil Hudson http://hudson-it.ddns.net
@UWascalWabbit PGP/GnuPG ID: 0x887DCA63
- [O] [PATCH] org-agenda.el: Fix `org-agenda-bulk-custom-functions' supported Customize type,
Phil Hudson <=