aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorAmin Bandali2026-01-04 23:50:51 -0500
committerEli Zaretskii2026-01-17 14:33:35 +0200
commit5020d89104dfc25601ca595bca9124a27ea8b1cb (patch)
tree6cc57f0203d1f2e94b97b2dc62d0259c823d96b9 /lisp/progmodes/python.el
parentcc3e6f368fe73dc0b7784e11b083dd240261de7d (diff)
downloademacs-5020d89104dfc25601ca595bca9124a27ea8b1cb.tar.gz
emacs-5020d89104dfc25601ca595bca9124a27ea8b1cb.zip
New minor mode center-line-mode
* lisp/textmodes/text-mode.el (center-line-mode--track-changes): New local variable for storing the id of the change tracker registered for the current buffer. (center-line-mode--track-changes-signal): New function to be called by the track-changes library whenever there is a change in the current buffer. (center-line-mode--track-changes-function): New function called from the above signal function, iterates over the lines of the modified region, calling 'center-line' for each non-empty line. (center-line-mode): New minor mode. * etc/NEWS: Document the new minor mode.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions