diff options
| author | Lars Ingebrigtsen | 2019-08-01 14:48:09 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-08-01 14:48:09 +0200 |
| commit | 716f8cb1f93473189ace3c5165936bd836792af0 (patch) | |
| tree | 7c97dc2735ea798d83f9050578d0b6a9e6a4590e | |
| parent | 75690d7fac331744eda76a4b23c36a74ff9bcb07 (diff) | |
| download | emacs-716f8cb1f93473189ace3c5165936bd836792af0.tar.gz emacs-716f8cb1f93473189ace3c5165936bd836792af0.zip | |
Doc string clarification for defcustom
* lisp/custom.el (defcustom): Mention `custom-declare-variable' in
the doc string(bug#22703).
| -rw-r--r-- | lisp/custom.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/custom.el b/lisp/custom.el index 736460fec7b..9bd9712b65c 100644 --- a/lisp/custom.el +++ b/lisp/custom.el | |||
| @@ -336,6 +336,11 @@ to load a file defining variables with this form, or with | |||
| 336 | _outside_ any bindings for these variables. (`defvar' and | 336 | _outside_ any bindings for these variables. (`defvar' and |
| 337 | `defconst' behave similarly in this respect.) | 337 | `defconst' behave similarly in this respect.) |
| 338 | 338 | ||
| 339 | This macro calls `custom-declare-variable'. If you want to | ||
| 340 | programmatically alter a customizable variable (for instance, to | ||
| 341 | write a package that extends the syntax of a variable), you can | ||
| 342 | call that functcion directly. | ||
| 343 | |||
| 339 | See Info node `(elisp) Customization' in the Emacs Lisp manual | 344 | See Info node `(elisp) Customization' in the Emacs Lisp manual |
| 340 | for more information." | 345 | for more information." |
| 341 | (declare (doc-string 3) (debug (name body))) | 346 | (declare (doc-string 3) (debug (name body))) |