diff options
| author | Stéphane Marks | 2026-04-01 06:58:18 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2026-04-02 13:47:36 -0400 |
| commit | faf1932875754c446361106cd8035c85fcc598f3 (patch) | |
| tree | b7d4e980823da658ed66b2ef01aef69f14f57f93 /leim/CXTERM-DIC/README | |
| parent | 5032b2167d462ee869ce43d004abef45a8490320 (diff) | |
| download | emacs-master.tar.gz emacs-master.zip | |
'setopt-local' is the buffer local equivalent of 'setopt'.
Unify 'setopt', 'setopt-local', 'setq-local',
'buffer-local-set-state' with 'setq' to signal
'wrong-number-of-arguments'.
* lisp/cus-edit.el (setopt): Change error signal to
'wrong-number-of-arguments'.
(setopt-local): New macro.
(setopt--set-local): New function.
* lisp/subr.el (set-local): New function.
(setq-local, buffer-local-set-state): Signal
'wrong-number-of-arguments' rather than 'error'.
* doc/emacs/custom.texi (Examining): Document 'setopt-local'.
* etc/NEWS: Announce the new macro and function.
Diffstat (limited to 'leim/CXTERM-DIC/README')
0 files changed, 0 insertions, 0 deletions