diff options
author | Stephen Berman <steve@rosalinde.fritz.box> | 2017-08-11 11:28:57 +0200 |
---|---|---|
committer | Stephen Berman <steve@rosalinde.fritz.box> | 2017-08-11 11:28:57 +0200 |
commit | e3ed43f4ac667d39fffcc48cfbe97b074f9aa5c7 (patch) | |
tree | 762ade1b3bf98f140ba75bd116013a8404b28d84 /test/lisp/emacs-lisp/cl-seq-tests.el | |
parent | a56e6e79613779895975b1762c311bf8fe46f551 (diff) | |
download | emacs-e3ed43f4ac667d39fffcc48cfbe97b074f9aa5c7.tar.gz emacs-e3ed43f4ac667d39fffcc48cfbe97b074f9aa5c7.tar.bz2 emacs-e3ed43f4ac667d39fffcc48cfbe97b074f9aa5c7.zip |
Fix a minor todo-mode regression
* lisp/calendar/todo-mode.el (todo-get-overlay): Wrap in
save-excursion. This fixes a regression introduced by the fix
for bug#27609, whereby trying to raise the priority of the
first item or lower the priority of the last item, which
should be noops, moves point to the item's start. Clarify
comment.
* test/lisp/calendar/todo-mode-tests.el
(todo-test-raise-lower-priority): Add test cases for trying to
raise first item and lower last item.
(with-todo-test): Clear abbreviated-home-dir, since we change HOME.
(todo-test-toggle-item-header02): Remove ":expected-result
:failed" and tests of point after todo-next-item, since the
effect when using Todo mode is not reproducible in the test
environment. Add commentary about this.
Diffstat (limited to 'test/lisp/emacs-lisp/cl-seq-tests.el')
0 files changed, 0 insertions, 0 deletions