diff options
author | Stephen Berman <stephen.berman@gmx.net> | 2017-07-07 17:48:14 +0200 |
---|---|---|
committer | Stephen Berman <stephen.berman@gmx.net> | 2017-07-07 17:48:14 +0200 |
commit | 264dd81d7bf14d39737677af11e1cd3d618ad887 (patch) | |
tree | 5a07b1e5b3842787d7997d20c6abb4c967da8597 /lisp/emacs-lisp/bytecomp.el | |
parent | 1cf6b1579976227346284033c3e333e53226a350 (diff) | |
download | emacs-264dd81d7bf14d39737677af11e1cd3d618ad887.tar.gz emacs-264dd81d7bf14d39737677af11e1cd3d618ad887.tar.bz2 emacs-264dd81d7bf14d39737677af11e1cd3d618ad887.zip |
todo-mode.el: Fix handling of hidden item headers (bug#27609)
* lisp/calendar/todo-mode.el (todo--item-headers-hidden): New variable.
(todo-toggle-item-header): Use it. Make this command a noop
if the file has no items.
(todo-move-item, todo-item-done): Instead of concatenating the
items to move into one string, make a list of them to
facilitate handling hidden headers. Adjust insertion accordingly.
(todo-archive-done-item): Handle hidden headers in archive file.
(todo-unarchive-items): Handle hidden headers in todo file.
(todo-backward-item): Use todo--item-headers-hidden and handle
moving backward work when item date-time headers are hidden.
(todo-remove-item): Delete date-time header overlay.
(todo-get-overlay, todo-insert-with-overlays): Make them work
with hidden date-time headers.
(todo-modes-set-2): Make todo--item-headers-hidden buffer local.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
0 files changed, 0 insertions, 0 deletions