]> git.eshelyaron.com Git - emacs.git/commit
New variable 'undo-inhibit-region'.
authorEshel Yaron <me@eshelyaron.com>
Tue, 12 Dec 2023 13:17:33 +0000 (14:17 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 12 Dec 2023 13:42:35 +0000 (14:42 +0100)
commitf7497580ac2d135144aa3a08850cb9db5438a545
tree5c213a708e78b439d0ac720e63911ca59bd6f7f2
parent74f7d89bc34e58ffab311f44ad7c23df34d55e93
New variable 'undo-inhibit-region'.

This buffer-local variable allows Lisp code to tell the next 'undo'
invocation to ignore an active region.

* lisp/simple.el (undo-inhibit-region): New variable.
(undo): Use it.
* etc/NEWS: Announce it.
* doc/lispref/text.texi (Undo): Mention it.
doc/lispref/text.texi
etc/NEWS
lisp/simple.el