emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master c1402c5 1/2: Fix documentation of 'menu-set-font' a


From: Eli Zaretskii
Subject: [Emacs-diffs] master c1402c5 1/2: Fix documentation of 'menu-set-font' and 'set-frame-font'
Date: Fri, 21 Aug 2015 13:34:01 +0000

branch: master
commit c1402c58710c62b07aaa1e6cdee34ff20dfd4e8a
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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 91c512c..65eeec6 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 address@hidden, 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 6a2ff63..d57ba74 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]