From 03ddf1fcb09eee6c1d5238db1d1a4e6a1109d493 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 13 Sep 2023 18:14:02 -0600 Subject: [PATCH] [Emacs] Set nil appropriatly in imalison:filter-agenda-log-to-completions-for --- dotfiles/emacs.d/org-config.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotfiles/emacs.d/org-config.org b/dotfiles/emacs.d/org-config.org index 81962b32..5587ddd2 100644 --- a/dotfiles/emacs.d/org-config.org +++ b/dotfiles/emacs.d/org-config.org @@ -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)))