Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0d93030d
Commit
0d93030d
authored
Jul 09, 2006
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Attribute Functions): Move paragraph about compatibility with Emacs < 21.
parent
e50f1c1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lispref/display.texi
lispref/display.texi
+4
-4
No files found.
lispref/display.texi
View file @
0d93030d
...
...
@@ -2106,10 +2106,6 @@ For example,
@
end
example
@
end
defun
The
functions
above
did
not
exist
before
Emacs
21.
For
compatibility
with
older
Emacs
versions
,
you
can
use
the
following
functions
to
set
and
examine
the
face
attributes
which
existed
in
those
versions
.
@
defun
face
-
attribute
-
relative
-
p
attribute
value
This
function
returns
non
-@
code
{
nil
}
if
@
var
{
value
},
when
used
as
the
value
of
the
face
attribute
@
var
{
attribute
},
is
relative
.
This
means
...
...
@@ -2136,6 +2132,10 @@ If @var{value1} is a relative value for the face attribute
face attribute @var{attribute}, returns @var{value1} unchanged.
@end defun
The functions above did not exist before Emacs 21. For compatibility
with older Emacs versions, you can use the following functions to set
and examine the face attributes which existed in those versions.
@defun set-face-foreground face color &optional frame
@defunx set-face-background face color &optional frame
These functions set the foreground (or background, respectively) color
...
...
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