(set-face-font): Allow specifing fontset for the arg FONT.
This commit is contained in:
parent
9a0ce8ca2a
commit
3aa3a18c9c
1 changed files with 3 additions and 1 deletions
|
|
@ -116,7 +116,9 @@ If FRAME is omitted or nil, use the selected frame."
|
|||
If the optional FRAME argument is provided, change only
|
||||
in that frame; otherwise change each frame."
|
||||
(interactive (internal-face-interactive "font"))
|
||||
(if (stringp font) (setq font (x-resolve-font-name font 'default frame)))
|
||||
(if (stringp font)
|
||||
(setq font (or (query-fontset font)
|
||||
(x-resolve-font-name font 'default frame))))
|
||||
(internal-set-face-1 face 'font font 3 frame))
|
||||
|
||||
(defun set-face-foreground (face color &optional frame)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue