aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Berman2012-05-28 00:54:30 +0100
committerStephen Berman2012-05-28 00:54:30 +0100
commit4de202018ae92afe71dfee4a7de9ccaed6445471 (patch)
tree93cbff1c42fce38e2af4c6dc774d6ed2a5eff4ce
parent459c6e9331e8128b32ad966137115f1bf1d88423 (diff)
downloademacs-4de202018ae92afe71dfee4a7de9ccaed6445471.tar.gz
emacs-4de202018ae92afe71dfee4a7de9ccaed6445471.zip
* calendar/todos.el: Doubts about todos-ignore-archived-categories.
(todos-ignore-archived-categories): Change default value.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/calendar/todos.el5
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 @@
12012-09-21 Stephen Berman <stephen.berman@gmx.net> 12012-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
62012-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.
346When non-nil such categories are omitted from `todos-categories' 347When non-nil such categories are omitted from `todos-categories'
347and hence from commands that use this variable. An exception is 348and 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)