aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Berman2013-05-17 16:26:58 +0200
committerStephen Berman2013-05-17 16:26:58 +0200
commit60c9e803176c0635724a372f74752103e803a534 (patch)
tree31eac93c026e08e95c32ddb23640a82b4517727a
parentea3ae33b5b94bf095c52f279887009e8fb71a9df (diff)
downloademacs-60c9e803176c0635724a372f74752103e803a534.tar.gz
emacs-60c9e803176c0635724a372f74752103e803a534.zip
* todos.el (todos-category-completions): Restore point after
ensuring category is properly displayed.
-rw-r--r--lisp/calendar/ChangeLog5
-rw-r--r--lisp/calendar/todos.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/calendar/ChangeLog b/lisp/calendar/ChangeLog
index 33494043d1a..5a6bab346fc 100644
--- a/lisp/calendar/ChangeLog
+++ b/lisp/calendar/ChangeLog
@@ -1,3 +1,8 @@
12013-05-17 Stephen Berman <stephen.berman@gmx.net>
2
3 * todos.el (todos-category-completions): Restore point after
4 ensuring category is properly displayed.
5
12013-05-16 Stephen Berman <stephen.berman@gmx.net> 62013-05-16 Stephen Berman <stephen.berman@gmx.net>
2 7
3 * todos.el (todos-filtered-items-mode-map): Update some bindings. 8 * todos.el (todos-filtered-items-mode-map): Update some bindings.
diff --git a/lisp/calendar/todos.el b/lisp/calendar/todos.el
index 33f413d4cf3..855ae7753e5 100644
--- a/lisp/calendar/todos.el
+++ b/lisp/calendar/todos.el
@@ -1216,7 +1216,7 @@ or, with non-nil ARCHIVE, the current archive file."
1216 (goto-char (point-min)) 1216 (goto-char (point-min))
1217 (setq done (re-search-forward todos-done-string-start nil t)))) 1217 (setq done (re-search-forward todos-done-string-start nil t))))
1218 (let ((todos-show-with-done done)) 1218 (let ((todos-show-with-done done))
1219 (todos-category-select))) 1219 (save-excursion (todos-category-select))))
1220 (save-excursion 1220 (save-excursion
1221 (save-restriction 1221 (save-restriction
1222 (widen) 1222 (widen)