aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Rudalics2014-10-23 15:21:07 +0200
committerMartin Rudalics2014-10-23 15:21:07 +0200
commitf43d61f556eda7d73e236b45e101c101d87acbaf (patch)
tree73ff6618e6a892bfa85efbf8a72797e0ac40bc59 /src
parenta55a7307108d4c609f92f481b6f520becaa3454e (diff)
downloademacs-f43d61f556eda7d73e236b45e101c101d87acbaf.tar.gz
emacs-f43d61f556eda7d73e236b45e101c101d87acbaf.zip
Fix some doc-strings in frame.c (Bug#18789).
* frame.c (Fset_frame_height, Fset_frame_width, Fset_frame_size) (frame_resize_pixelwise, frame_inhibit_implied_resize): Fix doc-strings (Bug#18789).
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/frame.c35
2 files changed, 30 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d74d2a4f092..ffc9b0c7147 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12014-10-23 Martin Rudalics <rudalics@gmx.at>
2
3 * frame.c (Fset_frame_height, Fset_frame_width, Fset_frame_size)
4 (frame_resize_pixelwise, frame_inhibit_implied_resize): Fix
5 doc-strings (Bug#18789).
6
12014-10-23 Paul Eggert <eggert@cs.ucla.edu> 72014-10-23 Paul Eggert <eggert@cs.ucla.edu>
2 8
3 * Makefile.in (ACLOCAL_INPUTS): Omit unnecessary use of 'wildcard'. 9 * Makefile.in (ACLOCAL_INPUTS): Omit unnecessary use of 'wildcard'.
diff --git a/src/frame.c b/src/frame.c
index 8fac06e2af7..d1acb73b926 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2828,11 +2828,15 @@ DEFUN ("frame-bottom-divider-width", Fbottom_divider_width, Sbottom_divider_widt
2828} 2828}
2829 2829
2830DEFUN ("set-frame-height", Fset_frame_height, Sset_frame_height, 2, 4, 0, 2830DEFUN ("set-frame-height", Fset_frame_height, Sset_frame_height, 2, 4, 0,
2831 doc: /* Specify that the frame FRAME has HEIGHT text lines. 2831 doc: /* Set height of frame FRAME to HEIGHT lines.
2832Optional third arg PRETEND non-nil means that redisplay should use 2832Optional third arg PRETEND non-nil means that redisplay should use
2833HEIGHT lines but that the idea of the actual height of the frame should 2833HEIGHT lines but that the idea of the actual height of the frame should
2834not be changed. Optional fourth argument PIXELWISE non-nil means that 2834not be changed.
2835FRAME should be HEIGHT pixels high. */) 2835
2836Optional fourth argument PIXELWISE non-nil means that FRAME should be
2837HEIGHT pixels high. Note: When `frame-resize-pixelwise' is nil, some
2838window managers may refuse to honor a HEIGHT that is not an integer
2839multiple of the default frame font height. */)
2836 (Lisp_Object frame, Lisp_Object height, Lisp_Object pretend, Lisp_Object pixelwise) 2840 (Lisp_Object frame, Lisp_Object height, Lisp_Object pretend, Lisp_Object pixelwise)
2837{ 2841{
2838 struct frame *f = decode_live_frame (frame); 2842 struct frame *f = decode_live_frame (frame);
@@ -2850,11 +2854,15 @@ FRAME should be HEIGHT pixels high. */)
2850} 2854}
2851 2855
2852DEFUN ("set-frame-width", Fset_frame_width, Sset_frame_width, 2, 4, 0, 2856DEFUN ("set-frame-width", Fset_frame_width, Sset_frame_width, 2, 4, 0,
2853 doc: /* Specify that the frame FRAME has WIDTH columns. 2857 doc: /* Set width of frame FRAME to WIDTH columns.
2854Optional third arg PRETEND non-nil means that redisplay should use WIDTH 2858Optional third arg PRETEND non-nil means that redisplay should use WIDTH
2855columns but that the idea of the actual width of the frame should not 2859columns but that the idea of the actual width of the frame should not
2856be changed. Optional fourth argument PIXELWISE non-nil means that FRAME 2860be changed.
2857should be WIDTH pixels wide. */) 2861
2862Optional fourth argument PIXELWISE non-nil means that FRAME should be
2863WIDTH pixels wide. Note: When `frame-resize-pixelwise' is nil, some
2864window managers may refuse to honor a WIDTH that is not an integer
2865multiple of the default frame font width. */)
2858 (Lisp_Object frame, Lisp_Object width, Lisp_Object pretend, Lisp_Object pixelwise) 2866 (Lisp_Object frame, Lisp_Object width, Lisp_Object pretend, Lisp_Object pixelwise)
2859{ 2867{
2860 struct frame *f = decode_live_frame (frame); 2868 struct frame *f = decode_live_frame (frame);
@@ -2872,8 +2880,12 @@ should be WIDTH pixels wide. */)
2872} 2880}
2873 2881
2874DEFUN ("set-frame-size", Fset_frame_size, Sset_frame_size, 3, 4, 0, 2882DEFUN ("set-frame-size", Fset_frame_size, Sset_frame_size, 3, 4, 0,
2875 doc: /* Sets size of FRAME to WIDTH by HEIGHT, measured in characters. 2883 doc: /* Set size of FRAME to WIDTH by HEIGHT, measured in characters.
2876Optional argument PIXELWISE non-nil means to measure in pixels. */) 2884Optional argument PIXELWISE non-nil means to measure in pixels. Note:
2885When `frame-resize-pixelwise' is nil, some window managers may refuse to
2886honor a WIDTH that is not an integer multiple of the default frame font
2887width or a HEIGHT that is not an integer multiple of the default frame
2888font height. */)
2877 (Lisp_Object frame, Lisp_Object width, Lisp_Object height, Lisp_Object pixelwise) 2889 (Lisp_Object frame, Lisp_Object width, Lisp_Object height, Lisp_Object pixelwise)
2878{ 2890{
2879 struct frame *f = decode_live_frame (frame); 2891 struct frame *f = decode_live_frame (frame);
@@ -4968,12 +4980,13 @@ is non-nil, no rounding occurs, hence frame sizes can increase/decrease
4968by one pixel. 4980by one pixel.
4969 4981
4970With some window managers you may have to set this to non-nil in order 4982With some window managers you may have to set this to non-nil in order
4971to fully maximize frames. To resize your initial frame pixelwise, set 4983to set the size of a frame in pixels, to maximize frames or to make them
4972this option to a non-nil value in your init file. */); 4984fullscreen. To resize your initial frame pixelwise, set this option to
4985a non-nil value in your init file. */);
4973 frame_resize_pixelwise = 0; 4986 frame_resize_pixelwise = 0;
4974 4987
4975 DEFVAR_BOOL ("frame-inhibit-implied-resize", frame_inhibit_implied_resize, 4988 DEFVAR_BOOL ("frame-inhibit-implied-resize", frame_inhibit_implied_resize,
4976 doc: /* Non-nil means do not resize frame implicitly. 4989 doc: /* Non-nil means do not resize frames implicitly.
4977If this option is nil, setting default font, menubar mode, fringe width, 4990If this option is nil, setting default font, menubar mode, fringe width,
4978or scroll bar mode of a specific frame may resize the frame in order to 4991or scroll bar mode of a specific frame may resize the frame in order to
4979preserve the number of columns or lines it displays. If this option is 4992preserve the number of columns or lines it displays. If this option is