diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2021-07-25 11:24:53 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2021-07-25 11:24:53 +0200 |
commit | b0d33d42535cc6aef2c518eba373332de59f210f (patch) | |
tree | 329f2c1cf8e5cd4bee0298692531fd9ac185e095 /test/lisp/emacs-lisp/shadow-tests.el | |
parent | c52e26df30d5679dc2b9b34853a3c2db062524ac (diff) | |
download | emacs-b0d33d42535cc6aef2c518eba373332de59f210f.tar.gz emacs-b0d33d42535cc6aef2c518eba373332de59f210f.tar.bz2 emacs-b0d33d42535cc6aef2c518eba373332de59f210f.zip |
Don't squash markers in occur-edit-mode
* lisp/replace.el (occur-after-change-function): Instead of replacing
the whole line being edited, use shrink-wrapping to replace the
smallest interval encompassing the change. That way, we avoid
disturbing markers (such as occur highlighting locations) in the line;
they would otherwise all be forced to the beginning.
Diffstat (limited to 'test/lisp/emacs-lisp/shadow-tests.el')
0 files changed, 0 insertions, 0 deletions