From b792e281681962679585090be9e35de47c317402 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 3 Sep 2017 14:19:05 +0200 Subject: [PATCH] org-agenda: Fix `org-agenda-custom-command' customization * lisp/org-agenda.el (org-agenda-custom-commands-local-options): Quote symbols. Reported-by: Niall Dooley --- lisp/org-agenda.el | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 221a11dbe..465e7e04d 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -324,12 +324,14 @@ the daily/weekly agenda, see `org-agenda-skip-function'.") (string)) (list :tag "Number of days in agenda" (const org-agenda-span) - (choice (const :tag "Day" day) - (const :tag "Week" week) - (const :tag "Fortnight" fortnight) - (const :tag "Month" month) - (const :tag "Year" year) - (integer :tag "Custom"))) + (list + (const :format "" quote) + (choice (const :tag "Day" day) + (const :tag "Week" week) + (const :tag "Fortnight" fortnight) + (const :tag "Month" month) + (const :tag "Year" year) + (integer :tag "Custom")))) (list :tag "Fixed starting date" (const org-agenda-start-day) (string :value "2007-11-01")) -- 2.11.4.GIT