aboutsummaryrefslogtreecommitdiffstats
path: root/exec/mipsel-user.h
diff options
context:
space:
mode:
authorStefan Monnier2024-04-05 17:37:32 -0400
committerStefan Monnier2024-04-09 22:28:11 -0400
commit820011a254231d6255b0d7fe07ff4ab1314c3b6e (patch)
treeebee7d6bc1170be3a9ed50e6182c287d18292403 /exec/mipsel-user.h
parentdd6b9c9426c5d7dde66974c5790815c3520a755b (diff)
downloademacs-scratch/track-changes.tar.gz
emacs-scratch/track-changes.zip
lisp/emacs-lisp/track-changes.el: New filescratch/track-changes
This new package provides an API that is easier to use right than our `*-change-functions` hooks. The patch includes changes to `diff-mode.el` and `eglot.el` to make use of this new package. * lisp/emacs-lisp/track-changes.el: New file. * test/lisp/emacs-lisp/track-changes-tests.el: New file. * doc/lispref/text.texi (Tracking changes): New subsection. * lisp/progmodes/eglot.el: Require `track-changes`. (eglot--virtual-pos-to-lsp-position): New function. (eglot--track-changes): New var. (eglot--managed-mode): Use `track-changes-register` i.s.o `after/before-change-functions` when available. (eglot--track-changes-signal): New function, partly extracted from `eglot--after-change`. (eglot--after-change): Use it. (eglot--track-changes-fetch): New function. (eglot--signal-textDocument/didChange): Use it. * lisp/vc/diff-mode.el: Require `track-changes`. Also require `easy-mmode` before the `eval-when-compile`s. (diff-unhandled-changes): Delete variable. (diff-after-change-function): Delete function. (diff--track-changes-function): Rename from `diff-post-command-hook` and adjust to new calling convention. (diff--track-changes): New variable. (diff--track-changes-signal): New function. (diff-mode, diff-minor-mode): Use it with `track-changes-register`.
Diffstat (limited to 'exec/mipsel-user.h')
0 files changed, 0 insertions, 0 deletions