diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/calendar/todos.el | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 576afa3c4eb..bd3e2b601ba 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2012-09-21 Stephen Berman <stephen.berman@gmx.net> | 1 | 2012-09-21 Stephen Berman <stephen.berman@gmx.net> |
| 2 | 2 | ||
| 3 | * calendar/todos.el: Doubts about todos-ignore-archived-categories. | ||
| 4 | (todos-ignore-archived-categories): Change default value. | ||
| 5 | |||
| 6 | 2012-09-21 Stephen Berman <stephen.berman@gmx.net> | ||
| 7 | |||
| 3 | * calendar/todos.el: Further comment revision. | 8 | * calendar/todos.el: Further comment revision. |
| 4 | (todos-reset-global-current-todos-file): | 9 | (todos-reset-global-current-todos-file): |
| 5 | Try to make this not slow down kill-buffer. | 10 | Try to make this not slow down kill-buffer. |
diff --git a/lisp/calendar/todos.el b/lisp/calendar/todos.el index 89bfeabb919..7ecd4d03ade 100644 --- a/lisp/calendar/todos.el +++ b/lisp/calendar/todos.el | |||
| @@ -341,7 +341,8 @@ Done items from corresponding archive files are also included." | |||
| 341 | :type 'boolean | 341 | :type 'boolean |
| 342 | :group 'todos) | 342 | :group 'todos) |
| 343 | 343 | ||
| 344 | (defcustom todos-ignore-archived-categories nil | 344 | ;; FIXME: make this effect only navigation? |
| 345 | (defcustom todos-ignore-archived-categories t | ||
| 345 | "Non-nil to ignore categories with only archived items. | 346 | "Non-nil to ignore categories with only archived items. |
| 346 | When non-nil such categories are omitted from `todos-categories' | 347 | When non-nil such categories are omitted from `todos-categories' |
| 347 | and hence from commands that use this variable. An exception is | 348 | and hence from commands that use this variable. An exception is |
| @@ -354,6 +355,8 @@ archived categories." | |||
| 354 | :set 'todos-reset-categories | 355 | :set 'todos-reset-categories |
| 355 | :group 'todos) | 356 | :group 'todos) |
| 356 | 357 | ||
| 358 | ;; FIXME: if this is saved and todos.el is loaded before custom-file, | ||
| 359 | ;; categories mode does not show archived categories | ||
| 357 | (defun todos-reset-categories (symbol value) | 360 | (defun todos-reset-categories (symbol value) |
| 358 | "The :set function for `todos-ignore-archived-categories'." | 361 | "The :set function for `todos-ignore-archived-categories'." |
| 359 | (custom-set-default symbol value) | 362 | (custom-set-default symbol value) |