aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2025-04-29 23:36:23 -0400
committerStefan Monnier2025-04-30 12:28:35 -0400
commit573b377e8c57d60ea4fa881641ed0f851858fe8e (patch)
tree788ca6cde84756a57f958739dd5053ae57568bd4 /src
parent215246108e1d35f5172c76549c71ffae901ab840 (diff)
downloademacs-573b377e8c57d60ea4fa881641ed0f851858fe8e.tar.gz
emacs-573b377e8c57d60ea4fa881641ed0f851858fe8e.zip
(register-preview-info): Delete slot `smatch`
Use the `types` slot to carry that info instead. Replace the list of types `(all)` with `(t)` since `t` is the usual name of the "supertype of all types". Use the type `null` to represent the fact that empty registers can be used. Allow an empty list of types to stand for `(t null)`, i.e. any register even empty ones. * lisp/register.el (register-preview-info): Delete slot `smatch`. (register-command-info): Delete arg `:smatch`. Adjust `:types` instead. Fix the `copy-rectangle-to-register` case, which disallowed using an empty register. (register-of-type-alist): Adjust handling of `types` accordingly. (register-preview-1): Simplify. (register-read-with-preview-fancy): Use types instead of `smatch`. Use it also in place of `act`.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions