aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/calendar/todos.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3e8e3d71c66..4739407547b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
12012-09-12 Stephen Berman <stephen.berman@gmx.net> 12012-09-12 Stephen Berman <stephen.berman@gmx.net>
2 2
3 * calendar/todos.el (todos-list-categories): Fix typos.
4 (todos-show): Ensure file is in todos-mode.
5
62012-09-12 Stephen Berman <stephen.berman@gmx.net>
7
3 * calendar/todos.el (todos-header): Remove defvar. 8 * calendar/todos.el (todos-header): Remove defvar.
4 (todos-add-category): Comment out code that inserts and updates 9 (todos-add-category): Comment out code that inserts and updates
5 the file local variables first line of the file todos-file-do. 10 the file local variables first line of the file todos-file-do.
diff --git a/lisp/calendar/todos.el b/lisp/calendar/todos.el
index 9e0cf90a048..1689c80d820 100644
--- a/lisp/calendar/todos.el
+++ b/lisp/calendar/todos.el
@@ -800,7 +800,7 @@ Number of entries for each category is given by `todos-print-priorities'."
800 (widen) 800 (widen)
801 (goto-char (point-max)) 801 (goto-char (point-max))
802 (while (re-search-backward 802 (while (re-search-backward
803 (concat "^" (regexp-quote (concat todo-prefix todo-category-beg)) 803 (concat "^" (regexp-quote (concat todos-prefix todos-category-beg))
804 "\\(.*\\)\n") 804 "\\(.*\\)\n")
805 (point-min) t) 805 (point-min) t)
806 (push (match-string-no-properties 1) categories))))) 806 (push (match-string-no-properties 1) categories)))))
@@ -950,6 +950,7 @@ Number of entries for each category is given by `todos-print-priorities'."
950 (equal (expand-file-name todos-file-do) bufname))) 950 (equal (expand-file-name todos-file-do) bufname)))
951 (find-file todos-file-do) 951 (find-file todos-file-do)
952 (todos-initial-setup)) 952 (todos-initial-setup))
953 (unless (eq major-mode 'todos-mode) (todos-mode))
953 (unless todos-categories 954 (unless todos-categories
954 (setq todos-categories (todos-list-categories))) 955 (setq todos-categories (todos-list-categories)))
955 ;; (beginning-of-line) 956 ;; (beginning-of-line)