forked from colonelpanic/dotfiles
[Emacs] Set nil appropriatly in imalison:filter-agenda-log-to-completions-for
This commit is contained in:
parent
c9edb55cd4
commit
03ddf1fcb0
@ -316,6 +316,8 @@ We're going to use this to write separate parts of our config to different secti
|
||||
|
||||
(defun imalison:filter-agenda-log-to-completions-for (person)
|
||||
(interactive (list (completing-read "Choose a person" imalison:org-people)))
|
||||
(when (string-equal person "nil")
|
||||
(setq person nil))
|
||||
(setq imalison:org-agenda-filter-to person)
|
||||
(when (eq major-mode 'org-agenda-mode)
|
||||
(org-agenda-redo)))
|
||||
|
Loading…
Reference in New Issue
Block a user