summaryrefslogtreecommitdiff
path: root/lisp/face-remap.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2013-06-18 12:52:07 +0200
committerJuanma Barranquero <lekktu@gmail.com>2013-06-18 12:52:07 +0200
commit58aa805b97182b8cd94928d88520ae0aa4edbbb7 (patch)
treeeb8eb433be82d368cc7d9cd4601aff2d5040fa26 /lisp/face-remap.el
parentf462d10ac4f144ccd0833b4e745f7f51aa3eb1bb (diff)
downloademacs-58aa805b97182b8cd94928d88520ae0aa4edbbb7.tar.gz
lisp/face-remap.el (buffer-face-toggle): Fix typo in docstring.
(buffer-face-mode-invoke): Doc fix.
Diffstat (limited to 'lisp/face-remap.el')
-rw-r--r--lisp/face-remap.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/face-remap.el b/lisp/face-remap.el
index b620d01d83e..e4ec602efe7 100644
--- a/lisp/face-remap.el
+++ b/lisp/face-remap.el
@@ -72,7 +72,7 @@
:font :inherit :fontset :vector])
(defun face-attrs-more-relative-p (attrs1 attrs2)
-"Return true if ATTRS1 contains a greater number of relative
+ "Return true if ATTRS1 contains a greater number of relative
face-attributes than ATTRS2. A face attribute is considered
relative if `face-attribute-relative-p' returns non-nil.
@@ -395,9 +395,9 @@ one face is listed, that specifies an aggregate face, like in a
`face' text property.
If `buffer-face-mode' is already enabled, and is currently using
-the face specs SPECS, then it is disabled; if buffer-face-mode is
-disabled, or is enabled and currently displaying some other face,
-then is left enabled, but the face changed to reflect SPECS.
+the face specs SPECS, then it is disabled; if `buffer-face-mode'
+is disabled, or is enabled and currently displaying some other
+face, then is left enabled, but the face changed to reflect SPECS.
This function will make the variable `buffer-face-mode-face'
buffer local, and set it to SPECS."
@@ -411,13 +411,13 @@ buffer local, and set it to SPECS."
(buffer-face-mode t)))
(defun buffer-face-mode-invoke (specs arg &optional interactive)
- "Enable or disable `buffer-face-mode' using face specs SPECS, and argument ARG.
+ "Enable or disable `buffer-face-mode' using face specs SPECS.
ARG controls whether the mode is enabled or disabled, and is
interpreted in the usual manner for minor-mode commands.
SPECS can be any value suitable for a `face' text property,
-including a face name, a plist of face attributes and values, or
-a list of faces.
+including a face name, a plist of face attributes and values,
+or a list of faces.
If INTERACTIVE is non-nil, display a message describing the
result.