]> git.eshelyaron.com Git - emacs.git/commit
Make `todo-toggle-item-highlighting' work on multiline items (bug#27133)
authorStephen Berman <stephen.berman@gmx.net>
Mon, 29 May 2017 18:26:49 +0000 (20:26 +0200)
committerStephen Berman <stephen.berman@gmx.net>
Mon, 29 May 2017 18:26:49 +0000 (20:26 +0200)
commited222c502b1a0043a8bc606482a11516568a54b6
tree7368f4e76581a469321e2d27f56656d4db606757
parentc503188f8079ae73d95abd0bce0f53d104b03205
Make `todo-toggle-item-highlighting' work on multiline items (bug#27133)

* lisp/calendar/todo-mode.el (todo-hl-line-range): New named function,
replacing an anonymous function for the sake of `describe-variable'.
(todo-modes-set-2): Use it as buffer-local value of hl-line-range-function
and remove boundp test of this variable, so its value is available on
invoking `todo-toggle-item-highlighting'.
lisp/calendar/todo-mode.el