Agenda: Allow to start with log mode active
Benjamin Andresen writes: > I was curious as to why a value such log-mode wasn't customizable > to be run on start-up as follow-mode and clock-report-mode are. > > If Carsten thinks this is a good idea, I've attached a patch that > may shave of 5 seconds of him adding it. It applies cleanly to > current git HEAD. This commit applies Beanjamin's patch
This commit is contained in:
parent
b6de229d4e
commit
d885d8f686
|
@ -1,3 +1,8 @@
|
|||
2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-agenda.el (org-agenda-start-with-log-mode): New option.
|
||||
(org-agenda-mode): Use `org-agenda-start-with-log-mode'.
|
||||
|
||||
2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-latex.el (org-export-latex-tables-centered): New option.
|
||||
|
|
|
@ -789,6 +789,12 @@ agenda display."
|
|||
:group 'org-agenda-daily/weekly
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom org-agenda-start-with-log-mode nil
|
||||
"The initial value of log-mode in a newly created agenda window."
|
||||
:group 'org-agenda-startup
|
||||
:group 'org-agenda-daily/weekly
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom org-agenda-start-with-clockreport-mode nil
|
||||
"The initial value of clockreport-mode in a newly created agenda window."
|
||||
:group 'org-agenda-startup
|
||||
|
@ -1252,7 +1258,8 @@ The following commands are available:
|
|||
(unless org-agenda-keep-modes
|
||||
(setq org-agenda-follow-mode org-agenda-start-with-follow-mode
|
||||
org-agenda-clockreport-mode org-agenda-start-with-clockreport-mode
|
||||
org-agenda-show-log nil))
|
||||
org-agenda-show-log org-agenda-start-with-log-mode))
|
||||
|
||||
(easy-menu-change
|
||||
'("Agenda") "Agenda Files"
|
||||
(append
|
||||
|
|
Loading…
Reference in New Issue