Commit 780c294f authored by Dmitry Antipov's avatar Dmitry Antipov

* src/frame.c (Fframe_parameters): Always report frame height without

menu and tool bar lines.
* etc/TODO: remove frame height remark.
parent 190644a0
2014-07-21 Dmitry Antipov <dmantipov@yandex.ru>
* TODO: remove frame height remark.
2014-07-11 Michael Albinus <michael.albinus@gmx.de>
* NEWS: Passwords in batch mode are hidden.
......
......@@ -144,11 +144,6 @@ for users to customize.
http://lists.gnu.org/archive/html/emacs-pretest-bug/2005-12/msg00165.html,
and the rest of that discussion.
** Height returned by frame-parameter ... and height given to
make-frame does not mean the same thing. The former includes menu and
tool bar lines, the latter don't. frame-parameter should return height
without menu and tool bar lines.
** In Emacs Info, examples of using Customize should be clickable
and they should create Custom buffers.
......
2014-07-21 Dmitry Antipov <dmantipov@yandex.ru>
* frame.c (Fframe_parameters): Always report frame height without
menu and tool bar lines.
2014-07-21 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (applicationDidFinishLaunching:): Call
......
......@@ -2240,7 +2240,7 @@ If FRAME is omitted or nil, return information on the currently selected frame.
? (f->new_pixelwise
? (f->new_height / FRAME_LINE_HEIGHT (f))
: f->new_height)
: FRAME_LINES (f));
: FRAME_LINES (f)) - FRAME_TOP_MARGIN (f);
store_in_alist (&alist, Qheight, make_number (height));
width = (f->new_width
? (f->new_pixelwise
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment