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
15688fce
Commit
15688fce
authored
Sep 20, 2008
by
Glenn Morris
Browse files
(Defining Faces): Recommend against face variables.
parent
8230b7b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+4
-0
doc/lispref/display.texi
doc/lispref/display.texi
+5
-0
No files found.
doc/lispref/ChangeLog
View file @
15688fce
2008
-
09
-
20
Glenn
Morris
<
rgm
@
gnu
.
org
>
*
display
.
texi
(
Defining
Faces
):
Recommend
against
face
variables
.
2008
-
09
-
16
Juanma
Barranquero
<
lekktu
@
gmail
.
com
>
*
display
.
texi
(
Echo
Area
Customization
):
Fix
typo
.
...
...
doc/lispref/display.texi
View file @
15688fce
...
...
@@ -1803,6 +1803,11 @@ kind of customization item (@pxref{Customization}) which the user can
customize using the Customization buffer (@pxref{Easy Customization,,,
emacs, The GNU Emacs Manual}).
People are sometimes tempted to create variables whose values specify
which faces to use (for example, Font-Lock does this). In the vast
majority of cases, this is not necessary, and simply using faces
directly is preferable.
@defmac defface face spec doc [keyword value]@dots{}
This declares @var{face} as a customizable face that defaults
according to @var{spec}. You should not quote the symbol @var{face},
...
...
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