]> git.eshelyaron.com Git - emacs.git/commit
Only show applicable registers in *Register preview* buffer
authorEshel Yaron <me@eshelyaron.com>
Tue, 12 Dec 2023 17:26:40 +0000 (18:26 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 12 Dec 2023 17:36:32 +0000 (18:36 +0100)
commitaed86852ea872d546e8a6fc25e830953e7a2545e
tree3b8fc54850863889d4734aef66bda2fb834e0a84
parentf7497580ac2d135144aa3a08850cb9db5438a545
Only show applicable registers in *Register preview* buffer

* lisp/register.el (register-preview-default): Doc fix.
(register-read-with-preview): Preserve 'last-input-event' when calling
'y-or-n-p'.  New optional argument PRED, pass it to...
(register-preview): New optional argument PRED.
(register-jump-p, register-insert-p, register-increment-p): New func.
(jump-to-register, increment-register, insert-register)
(append-to-register, prepend-to-register): Update.
* doc/lispref/text.texi (Registers): Update
'register-read-with-preview' documentation.
* etc/NEWS: Announce it.
doc/lispref/text.texi
etc/NEWS
lisp/register.el