diff options
| author | Stefan Monnier | 2024-04-16 21:57:05 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2024-04-16 21:57:05 -0400 |
| commit | a33ab7565e20d9c04731491f6ae38a8d35be729f (patch) | |
| tree | d1cbd75df23859968ea4a8769e91f3846c1d57df /java/org/gnu | |
| parent | 484b0979099d91e286c248e32b2f693111fac2ad (diff) | |
| download | emacs-a33ab7565e20d9c04731491f6ae38a8d35be729f.tar.gz emacs-a33ab7565e20d9c04731491f6ae38a8d35be729f.zip | |
track-changes.el: Minor changes for version 1.0
Arrange for the library to be usable on older Emacsen, which
includes reducing the noise when `before/after-change-functions`
are badly paired or missing.
Also, since the signal function receives the distance (for `:disjoint`),
we don't need `track-changes--disjoint-threshold`: the signal
function can simply do nothing when the distance is smaller than
the threshold it wants to use.
* lisp/emacs-lisp/track-changes.el: Prepare header for ELPA.
(track-changes--tracker, track-changes--state): Don't use `:noinline`,
so as to be compatible with Emacs<27.
(track-changes-record-errors): New variable.
(track-changes--recover-from-error): Use it. Record only the last 20
keys and the last 50 stack frames in the error log.
(track-changes--disjoint-threshold): Delete variable.
(track-changes--before): Don't use it any more.
* lisp/progmodes/eglot.el (eglot--track-changes-signal):
Coalesce disjoint changes nearer than what used to be coalesced because of
`track-changes--disjoint-threshold`.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions