Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5a65439e
Commit
5a65439e
authored
Nov 18, 2002
by
Richard M. Stallman
Browse files
Clarify evaluation of :type arg in defcustom.
parent
90620d3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
lispref/customize.texi
lispref/customize.texi
+4
-3
No files found.
lispref/customize.texi
View file @
5a65439e
...
...
@@ -344,9 +344,10 @@ which values are legitimate and (2) how to display the value in the
customization buffer for editing.
You specify the customization type in @code{defcustom} with the
@code{:type} keyword. The argument of @code{:type} is evaluated; since
types that vary at run time are rarely useful, normally you use a quoted
constant. For example:
@code{:type} keyword. The argument of @code{:type} is evaluated, but
only once when the @code{defcustom} is executed, so it isn't useful
for the value to vary. Normally we use a quoted constant. For
example:
@example
(defcustom diff-command "
diff
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment