summaryrefslogtreecommitdiff
path: root/lisp/cus-edit.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2024-09-14 07:55:01 -0400
committerEli Zaretskii <eliz@gnu.org>2024-09-14 07:55:01 -0400
commit0cf9886cdfb0dd3082d70cb08bd5845d8f42a813 (patch)
treeba002ead8726c12678648475a9a0823a53cd84ba /lisp/cus-edit.el
parent7eaa454283491f8397b29c9b208b1eee7706c3ea (diff)
parentd509a35699738519d42a35d72827b1111425669c (diff)
downloademacs-0cf9886cdfb0dd3082d70cb08bd5845d8f42a813.tar.gz
emacs-0cf9886cdfb0dd3082d70cb08bd5845d8f42a813.tar.bz2
emacs-0cf9886cdfb0dd3082d70cb08bd5845d8f42a813.zip
Merge from origin/emacs-30
d509a356997 Fix regression in widget-move (bug#72995) ef0276de82b ; * lisp/cus-edit.el (setopt): Doc fix. (Bug#73098) b115c2d5eba ; * lisp/minibuffer.el (completion-pcm--merge-completions... 3cda1fdc3b7 Correctly include fixed strings before a prefix wildcard ... 57d93d0259a ; * lisp/treesit.el (treesit-major-mode-setup): Doc fix. ad289f364e5 ; Improve documentation of 'easy-menu-define' 3cad7cc8dc8 Set treesit-primary-parser for c and elixir ts mode 2f243fb91d6 ; Minor doc fix in treesit.el 6a6d7925c9d Fix range handling so it works for multibyte buffer (bug#... 76faf7e6091 Revert "Read more on each call to treesit's buffer reader" c70bd0e3fe9 Fix tree-sitter indent preset prev-adaptive-prefix 272df33fb8b ; * CONTRIBUTE: Minor copyedits. 8e1187e336f Improve NEWS entries ca3932121a8 Don't fail uniquify-tests in non-version-controlled sourc... 79f68597aba ; * etc/ORG-NEWS: Fix typo. d66b70f3607 * doc/misc/auth.texi: Minor copy edits. 2c6b7b2da9f ; * admin/MAINTAINERS: Remove some entries for Artur Mala... 11e7ae3964e Fix bug#72254 # Conflicts: # etc/NEWS
Diffstat (limited to 'lisp/cus-edit.el')
-rw-r--r--lisp/cus-edit.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 3ab5f11532e..b25dbad5919 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -1053,6 +1053,11 @@ This is like `setq', but is meant for user options instead of
plain variables. This means that `setopt' will execute any
`custom-set' form associated with VARIABLE.
+Note that `setopt' will emit a warning if the type of a VALUE
+does not match the type of the corresponding VARIABLE as
+declared by `defcustom'. (VARIABLE will be assigned the value
+even if it doesn't match the type.)
+
\(fn [VARIABLE VALUE]...)"
(declare (debug setq))
(unless (zerop (mod (length pairs) 2))