]> code.delx.au - gnu-emacs/commitdiff
Fix documentation of 'menu-set-font' and 'set-frame-font'
authorEli Zaretskii <eliz@gnu.org>
Fri, 21 Aug 2015 13:32:29 +0000 (16:32 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 21 Aug 2015 13:32:29 +0000 (16:32 +0300)
* 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
lisp/menu-bar.el

index 91c512c0ab4ce20ddfcff185f08c5fa1f3141a35..65eeec6aea2c9b2e769d1669b23e829cde95c095 100644 (file)
@@ -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
 
 
index 6a2ff6306987d4eee41075d4c9b56aa271d74ea2..d57ba742113725101d36ef84d6224c3919cfe649 100644 (file)
@@ -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)