summaryrefslogtreecommitdiff
path: root/src/data.c
diff options
context:
space:
mode:
authorIgnacio Casso <ignaciocasso@hotmail.com>2022-06-10 11:13:20 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-06-10 11:13:20 +0200
commit071722e41120f8894b5482d9eccc663a28f81058 (patch)
tree067acb5c2148d13a1ae6cf688d7656b973607af5 /src/data.c
parent07fb8d284f8d08f79bb65e764b39180e2b974761 (diff)
downloademacs-071722e41120f8894b5482d9eccc663a28f81058.tar.gz
Fix issues with loading autoloaded defcustoms while bound
* doc/lispref/customize.texi (Variable Definitions) (Variable Definitions): Update documentation. * lisp/custom.el (custom-initialize-set) (custom-initialize-reset): Update doc string. (custom-initialize-changed): Use set-default-toplevel-value. This fixes issues with (let ((custom-variable ...)) (autoload-function ...)). (custom-set-default): Ditto. * src/data.c (Fdefault_boundp): Update doc string.
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/data.c b/src/data.c
index 72dcf6f878d..46c0c5b6aee 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1939,9 +1939,9 @@ default_value (Lisp_Object symbol)
DEFUN ("default-boundp", Fdefault_boundp, Sdefault_boundp, 1, 1, 0,
doc: /* Return t if SYMBOL has a non-void default value.
-A variable may have a buffer-local or a `let'-bound local value. This
-function says whether the variable has a non-void value outside of the
-current context. Also see `default-value'. */)
+A variable may have a buffer-local value. This function says whether
+the variable has a non-void value outside of the current buffer
+context. Also see `default-value'. */)
(Lisp_Object symbol)
{
register Lisp_Object value;