From 46daa10bf3fcf72a3261a9c568e7feff815a7bb7 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sat, 28 Jul 2012 18:53:11 +0200 Subject: [PATCH] org-agenda.el (org-agenda-start-with-log-mode): Add relevant customization types. * org-agenda.el (org-agenda-start-with-log-mode): Add relevant customization types. Thanks to John Wiegley for raising this issue and to Carsten for directions. --- lisp/org-agenda.el | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 64822c329..59e55f7d2 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -1221,10 +1221,18 @@ agenda display." :type 'boolean) (defcustom org-agenda-start-with-log-mode nil - "The initial value of log-mode in a newly created agenda window." + "The initial value of log-mode in a newly created agenda window. +See `org-agenda-log-mode' and `org-agenda-log-mode-items' for further +explanations on the possible values." :group 'org-agenda-startup :group 'org-agenda-daily/weekly - :type 'boolean) + :type '(choice (const :tag "Don't show log items" nil) + (const :tag "Show only log items" 'only) + (const :tag "Show all possible log items" 'clockcheck) + (repeat :tag "Choose among possible values for `org-agenda-log-mode-items'" + (choice (const :tag "Show closed log items" 'closed) + (const :tag "Show clocked log items" 'clock) + (const :tag "Show all logged state changes" 'state))))) (defcustom org-agenda-start-with-clockreport-mode nil "The initial value of clockreport-mode in a newly created agenda window."