diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/km-org-agenda.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/km-org-agenda.el b/lisp/km-org-agenda.el index 0d5903d..45518b9 100644 --- a/lisp/km-org-agenda.el +++ b/lisp/km-org-agenda.el @@ -29,11 +29,11 @@ (hack-local-variables))) (defun km/org-agenda-store-current-span () - "Store the current span value in `org-agenda-span'. + "Store the current span value in `org-agenda-span'. This allows the view to persist when the agenda buffer is killed." - (when org-agenda-current-span - (setq org-agenda-span org-agenda-current-span))) + (when org-agenda-current-span + (setq org-agenda-span org-agenda-current-span))) ;;;###autoload (defun km/org-open-default-notes-file-inbox () |