summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-cache.el
diff options
context:
space:
mode:
authorRichard Hansen <rhansen@rhansen.org>2022-06-28 16:25:43 -0400
committerLars Ingebrigtsen <larsi@gnus.org>2022-09-11 13:46:30 +0200
commitf47a5324f44e5b8d0016cff2a4f995ff418a5d19 (patch)
tree17570eb9f0dbd76fa8ba683c67ea3e42fab121bd /lisp/net/tramp-cache.el
parent395786f42b0eed361ee34cd398bc8ee33802ed04 (diff)
downloademacs-f47a5324f44e5b8d0016cff2a4f995ff418a5d19.tar.gz
emacs-f47a5324f44e5b8d0016cff2a4f995ff418a5d19.tar.bz2
emacs-f47a5324f44e5b8d0016cff2a4f995ff418a5d19.zip
whitespace: Redo BoB/EoB empty line highlighting
* lisp/whitespace.el (whitespace--empty-at-bob-matcher, whitespace--empty-at-eob-matcher, whitespace--update-bob-eob, whitespace-color-off, whitespace-color-on, whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp, whitespace-looking-back, whitespace-post-command-hook): Redo the `empty' line highlighting logic to ensure that a buffer change causes all affected `empty' lines to become (un)highlighted (bug#37467). Also, for improved UX, don't highlight BoB empty lines at or below point (not just when point is at 1), or EoB empty lines at or above point (not just when point is `eobp'). (whitespace-bob-marker, whitespace-eob-marker): Clarify documentation. * test/lisp/whitespace-tests.el (whitespace--with-test-buffer, whitespace--fu, whitespace-tests--empty-bob, whitespace-tests--empty-eob): Add tests.
Diffstat (limited to 'lisp/net/tramp-cache.el')
0 files changed, 0 insertions, 0 deletions