diff options
| author | Dmitry Antipov | 2014-07-21 20:58:12 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-07-21 20:58:12 +0400 |
| commit | 780c294f37fc0132aeab5d7ee6ecf4152ebb7215 (patch) | |
| tree | af9fec0faf00bf0bad0e7bd44f0c827223a080a2 | |
| parent | 190644a0115a592f237b5f7c91f0f96e82edb864 (diff) | |
| download | emacs-780c294f37fc0132aeab5d7ee6ecf4152ebb7215.tar.gz emacs-780c294f37fc0132aeab5d7ee6ecf4152ebb7215.zip | |
* src/frame.c (Fframe_parameters): Always report frame height without
menu and tool bar lines.
* etc/TODO: remove frame height remark.
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/TODO | 5 | ||||
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/frame.c | 2 |
4 files changed, 10 insertions, 6 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 8ae48c277a8..fdaf1f0cabd 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-07-21 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | * TODO: remove frame height remark. | ||
| 4 | |||
| 1 | 2014-07-11 Michael Albinus <michael.albinus@gmx.de> | 5 | 2014-07-11 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 6 | ||
| 3 | * NEWS: Passwords in batch mode are hidden. | 7 | * NEWS: Passwords in batch mode are hidden. |
| @@ -144,11 +144,6 @@ for users to customize. | |||
| 144 | http://lists.gnu.org/archive/html/emacs-pretest-bug/2005-12/msg00165.html, | 144 | http://lists.gnu.org/archive/html/emacs-pretest-bug/2005-12/msg00165.html, |
| 145 | and the rest of that discussion. | 145 | and the rest of that discussion. |
| 146 | 146 | ||
| 147 | ** Height returned by frame-parameter ... and height given to | ||
| 148 | make-frame does not mean the same thing. The former includes menu and | ||
| 149 | tool bar lines, the latter don't. frame-parameter should return height | ||
| 150 | without menu and tool bar lines. | ||
| 151 | |||
| 152 | ** In Emacs Info, examples of using Customize should be clickable | 147 | ** In Emacs Info, examples of using Customize should be clickable |
| 153 | and they should create Custom buffers. | 148 | and they should create Custom buffers. |
| 154 | 149 | ||
diff --git a/src/ChangeLog b/src/ChangeLog index 25732ac9f5d..30a02475262 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-07-21 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | * frame.c (Fframe_parameters): Always report frame height without | ||
| 4 | menu and tool bar lines. | ||
| 5 | |||
| 1 | 2014-07-21 Jan Djärv <jan.h.d@swipnet.se> | 6 | 2014-07-21 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 7 | ||
| 3 | * nsterm.m (applicationDidFinishLaunching:): Call | 8 | * nsterm.m (applicationDidFinishLaunching:): Call |
diff --git a/src/frame.c b/src/frame.c index 8d6f3567334..731a62705bd 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -2240,7 +2240,7 @@ If FRAME is omitted or nil, return information on the currently selected frame. | |||
| 2240 | ? (f->new_pixelwise | 2240 | ? (f->new_pixelwise |
| 2241 | ? (f->new_height / FRAME_LINE_HEIGHT (f)) | 2241 | ? (f->new_height / FRAME_LINE_HEIGHT (f)) |
| 2242 | : f->new_height) | 2242 | : f->new_height) |
| 2243 | : FRAME_LINES (f)); | 2243 | : FRAME_LINES (f)) - FRAME_TOP_MARGIN (f); |
| 2244 | store_in_alist (&alist, Qheight, make_number (height)); | 2244 | store_in_alist (&alist, Qheight, make_number (height)); |
| 2245 | width = (f->new_width | 2245 | width = (f->new_width |
| 2246 | ? (f->new_pixelwise | 2246 | ? (f->new_pixelwise |