Fix documentation of 'menu-set-font' and 'set-frame-font'
* lisp/menu-bar.el (menu-set-font): Doc fix. (Bug#21303) * doc/lispref/frames.texi (Frame Font): Document that set-frame-font with the last argument 't' will also make the font the default for the future GUI frames.
This commit is contained in:
parent
88f18ca334
commit
c1402c5871
2 changed files with 4 additions and 2 deletions
|
@ -744,7 +744,7 @@ frame fixed by adjusting the number of lines and columns.
|
|||
If the optional argument @var{frames} is @code{nil}, this applies the
|
||||
font to the selected frame only. If @var{frames} is non-@code{nil}, it
|
||||
should be a list of frames to act upon, or @code{t} meaning all existing
|
||||
graphical frames.
|
||||
and all future graphical frames.
|
||||
@end deffn
|
||||
|
||||
|
||||
|
|
|
@ -652,7 +652,9 @@ by \"Save Options\" in Custom buffers.")
|
|||
;; Function for setting/saving default font.
|
||||
|
||||
(defun menu-set-font ()
|
||||
"Interactively select a font and make it the default on all existing frames."
|
||||
"Interactively select a font and make it the default on all frames.
|
||||
|
||||
The selected font will be the default on both the existing and futire frames."
|
||||
(interactive)
|
||||
(set-frame-font (if (fboundp 'x-select-font)
|
||||
(x-select-font)
|
||||
|
|
Loading…
Add table
Reference in a new issue