diff options
| author | Stefan Monnier | 2025-04-29 23:36:23 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2025-04-30 12:28:35 -0400 |
| commit | 573b377e8c57d60ea4fa881641ed0f851858fe8e (patch) | |
| tree | 788ca6cde84756a57f958739dd5053ae57568bd4 /src/coding.c | |
| parent | 215246108e1d35f5172c76549c71ffae901ab840 (diff) | |
| download | emacs-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/coding.c')
0 files changed, 0 insertions, 0 deletions