aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-11-01 18:32:29 +0100
committerLars Ingebrigtsen2019-11-01 18:32:29 +0100
commita8b87446656af0395864b7aaa697a4e04bcc1218 (patch)
treed94d993e844281fb56f5253b5b95096d9e846b37
parenteda98211e31ed969823c1048b3cde635e08eebe5 (diff)
downloademacs-a8b87446656af0395864b7aaa697a4e04bcc1218.tar.gz
emacs-a8b87446656af0395864b7aaa697a4e04bcc1218.zip
set-face-font doc string update
* lisp/faces.el (set-face-font): Mention what the string formats are (bug#14647).
-rw-r--r--lisp/faces.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 2779197804b..75753ecefc9 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -888,6 +888,10 @@ Use `set-face-attribute' for finer control of font weight and slant."
888 888
889(defun set-face-font (face font &optional frame) 889(defun set-face-font (face font &optional frame)
890 "Change font-related attributes of FACE to those of FONT (a string). 890 "Change font-related attributes of FACE to those of FONT (a string).
891The format of the font varies based on the font system in used,
892but it can commonly be an X logical font description (XLFD)
893string, or a simpler XFD string like \"courier:size=10\".
894
891FRAME nil or not specified means change face on all frames. 895FRAME nil or not specified means change face on all frames.
892This sets the attributes `:family', `:foundry', `:width', 896This sets the attributes `:family', `:foundry', `:width',
893`:height', `:weight', and `:slant'. When called interactively, 897`:height', `:weight', and `:slant'. When called interactively,