diff options
| author | Lars Ingebrigtsen | 2019-11-01 18:32:29 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-11-01 18:32:29 +0100 |
| commit | a8b87446656af0395864b7aaa697a4e04bcc1218 (patch) | |
| tree | d94d993e844281fb56f5253b5b95096d9e846b37 | |
| parent | eda98211e31ed969823c1048b3cde635e08eebe5 (diff) | |
| download | emacs-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.el | 4 |
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). |
| 891 | The format of the font varies based on the font system in used, | ||
| 892 | but it can commonly be an X logical font description (XLFD) | ||
| 893 | string, or a simpler XFD string like \"courier:size=10\". | ||
| 894 | |||
| 891 | FRAME nil or not specified means change face on all frames. | 895 | FRAME nil or not specified means change face on all frames. |
| 892 | This sets the attributes `:family', `:foundry', `:width', | 896 | This sets the attributes `:family', `:foundry', `:width', |
| 893 | `:height', `:weight', and `:slant'. When called interactively, | 897 | `:height', `:weight', and `:slant'. When called interactively, |