[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 r117138: Fix bug #17532 with unclear docs of sett
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-24 r117138: Fix bug #17532 with unclear docs of setting frame's font. |
Date: |
Wed, 21 May 2014 16:36:19 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117138
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/17532
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Wed 2014-05-21 19:35:31 +0300
message:
Fix bug #17532 with unclear docs of setting frame's font.
lisp/frame.el (set-frame-font): Doc fix.
lisp/menu-bar.el (menu-set-font): Doc fix.
doc/emacs/frames.texi (Fonts): Clarify which frames are affected by
setting font from the menu and in default-frame-alist.
modified:
doc/emacs/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-6227
doc/emacs/frames.texi
frames.texi-20091113204419-o5vbwnq5f7feedwu-6252
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/frame.el frame.el-20091113204419-o5vbwnq5f7feedwu-275
lisp/menu-bar.el menubar.el-20091113204419-o5vbwnq5f7feedwu-546
=== modified file 'doc/emacs/ChangeLog'
--- a/doc/emacs/ChangeLog 2014-05-12 19:10:59 +0000
+++ b/doc/emacs/ChangeLog 2014-05-21 16:35:31 +0000
@@ -1,3 +1,9 @@
+2014-05-21 Eli Zaretskii <address@hidden>
+
+ * frames.texi (Fonts): Clarify which frames are affected by
+ setting font from the menu and in default-frame-alist.
+ (Bug#17532)
+
2014-05-12 Eli Zaretskii <address@hidden>
* mule.texi (Language Environments): Remove unused @anchor.
=== modified file 'doc/emacs/frames.texi'
--- a/doc/emacs/frames.texi 2014-04-29 14:45:24 +0000
+++ b/doc/emacs/frames.texi 2014-05-21 16:35:31 +0000
@@ -494,13 +494,14 @@
@cindex fonts
By default, Emacs displays text on graphical displays using a
-12-point monospace font. There are several different ways to specify
+10-point monospace font. There are several different ways to specify
a different font:
@itemize
@item
-Click on @samp{Set Default Font} in the @samp{Options} menu. To save
-this for future sessions, click on @samp{Save Options} in the
+Click on @samp{Set Default Font} in the @samp{Options} menu. This
+makes the selected font the default on all existing graphical frames.
+To save this for future sessions, click on @samp{Save Options} in the
@samp{Options} menu.
@item
@@ -513,6 +514,10 @@
'(font . "DejaVu Sans Mono-10"))
@end example
address@hidden
+This makes the font the default on all graphical frames created after
+restarting Emacs with that init file.
+
@cindex X defaults file
@cindex X resources file
@item
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-05-21 02:14:38 +0000
+++ b/lisp/ChangeLog 2014-05-21 16:35:31 +0000
@@ -1,3 +1,9 @@
+2014-05-21 Eli Zaretskii <address@hidden>
+
+ * frame.el (set-frame-font): Doc fix.
+
+ * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
+
2014-05-21 Dmitry Gutov <address@hidden>
* emacs-lisp/package.el (package--download-one-archive): Use
=== modified file 'lisp/frame.el'
--- a/lisp/frame.el 2014-05-18 12:58:30 +0000
+++ b/lisp/frame.el 2014-05-21 16:35:31 +0000
@@ -1107,10 +1107,10 @@
If FRAMES is nil, apply the font to the selected frame only.
If FRAMES is non-nil, it should be a list of frames to act upon,
-or t meaning all graphical frames. Also, if FRAME is non-nil,
-alter the user's Customization settings as though the
-font-related attributes of the `default' face had been \"set in
-this session\", so that the font is applied to future frames."
+or t meaning all existing graphical frames.
+Also, if FRAMES is non-nil, alter the user's Customization settings
+as though the font-related attributes of the `default' face had been
+\"set in this session\", so that the font is applied to future frames."
(interactive
(let* ((completion-ignore-case t)
(font (completing-read "Font name: "
=== modified file 'lisp/menu-bar.el'
--- a/lisp/menu-bar.el 2014-05-01 23:55:25 +0000
+++ b/lisp/menu-bar.el 2014-05-21 16:35:31 +0000
@@ -662,7 +662,7 @@
;; Function for setting/saving default font.
(defun menu-set-font ()
- "Interactively select a font and make it the default."
+ "Interactively select a font and make it the default on all existing frames."
(interactive)
(set-frame-font (if (fboundp 'x-select-font)
(x-select-font)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 r117138: Fix bug #17532 with unclear docs of setting frame's font.,
Eli Zaretskii <=