summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorStephen Berman <stephen.berman@gmx.net>2017-07-07 17:48:14 +0200
committerStephen Berman <stephen.berman@gmx.net>2017-07-07 17:48:14 +0200
commit264dd81d7bf14d39737677af11e1cd3d618ad887 (patch)
tree5a07b1e5b3842787d7997d20c6abb4c967da8597 /lisp/emacs-lisp/syntax.el
parent1cf6b1579976227346284033c3e333e53226a350 (diff)
downloademacs-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/syntax.el')
0 files changed, 0 insertions, 0 deletions