mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-07 06:41:00 -07:00
'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. |
||
|---|---|---|
| .. | ||
| emacs | ||
| lispintro | ||
| lispref | ||
| man | ||
| misc | ||
| translations | ||