aboutsummaryrefslogtreecommitdiffstats
path: root/java/org
diff options
context:
space:
mode:
authorStefan Monnier2025-05-18 15:44:35 -0400
committerStefan Monnier2025-05-18 15:44:35 -0400
commit168b67b1eeb2e2b79d2e5f3712d8ebfda31fd753 (patch)
tree5fcdbb6e1e3bbd3b48712a237983bbc58a3eac15 /java/org
parent48c66f26c1454c449ac40407651d22dc5cc57424 (diff)
downloademacs-168b67b1eeb2e2b79d2e5f3712d8ebfda31fd753.tar.gz
emacs-168b67b1eeb2e2b79d2e5f3712d8ebfda31fd753.zip
eww.el: Use `track-changes`
* lisp/net/eww.el: Require `track-changes`. (eww-display-document): Don't `inhibit-modification-hooks` any more. Use `track-changes-register` *at the end* instead. (eww-mode): Don't use `after-change-functions` any more. (eww--track-changes): New function. (eww--process-text-input): Rename from `eww-process-text-input`. Try and be more careful: don't presume `point` is near the modification. Check for a form both at BEG and at END. Don't rely on `:start/:end` pointing to the right places. Use `:length` instead and shrink the field back to its original length when possible. (eww-size-text-inputs): Set `:length` rather than `:start/:end`.
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions