From c1402c58710c62b07aaa1e6cdee34ff20dfd4e8a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 21 Aug 2015 16:32:29 +0300 Subject: [PATCH] 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. --- doc/lispref/frames.texi | 2 +- lisp/menu-bar.el | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 91c512c0ab4..65eeec6aea2 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi @@ -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 diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 6a2ff630698..d57ba742113 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -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) -- 2.39.5