[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 716f8cb: Doc string clarification for defcustom
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 716f8cb: Doc string clarification for defcustom |
Date: |
Thu, 1 Aug 2019 08:48:16 -0400 (EDT) |
branch: master
commit 716f8cb1f93473189ace3c5165936bd836792af0
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Doc string clarification for defcustom
* lisp/custom.el (defcustom): Mention `custom-declare-variable' in
the doc string(bug#22703).
---
lisp/custom.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lisp/custom.el b/lisp/custom.el
index 736460f..9bd9712 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -336,6 +336,11 @@ to load a file defining variables with this form, or with
_outside_ any bindings for these variables. (`defvar' and
`defconst' behave similarly in this respect.)
+This macro calls `custom-declare-variable'. If you want to
+programmatically alter a customizable variable (for instance, to
+write a package that extends the syntax of a variable), you can
+call that functcion directly.
+
See Info node `(elisp) Customization' in the Emacs Lisp manual
for more information."
(declare (doc-string 3) (debug (name body)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 716f8cb: Doc string clarification for defcustom,
Lars Ingebrigtsen <=