diff options
| author | Martin Rudalics | 2014-10-23 15:21:07 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2014-10-23 15:21:07 +0200 |
| commit | f43d61f556eda7d73e236b45e101c101d87acbaf (patch) | |
| tree | 73ff6618e6a892bfa85efbf8a72797e0ac40bc59 /src | |
| parent | a55a7307108d4c609f92f481b6f520becaa3454e (diff) | |
| download | emacs-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/ChangeLog | 6 | ||||
| -rw-r--r-- | src/frame.c | 35 |
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 @@ | |||
| 1 | 2014-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 | |||
| 1 | 2014-10-23 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2014-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 | ||
| 2830 | DEFUN ("set-frame-height", Fset_frame_height, Sset_frame_height, 2, 4, 0, | 2830 | DEFUN ("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. |
| 2832 | Optional third arg PRETEND non-nil means that redisplay should use | 2832 | Optional third arg PRETEND non-nil means that redisplay should use |
| 2833 | HEIGHT lines but that the idea of the actual height of the frame should | 2833 | HEIGHT lines but that the idea of the actual height of the frame should |
| 2834 | not be changed. Optional fourth argument PIXELWISE non-nil means that | 2834 | not be changed. |
| 2835 | FRAME should be HEIGHT pixels high. */) | 2835 | |
| 2836 | Optional fourth argument PIXELWISE non-nil means that FRAME should be | ||
| 2837 | HEIGHT pixels high. Note: When `frame-resize-pixelwise' is nil, some | ||
| 2838 | window managers may refuse to honor a HEIGHT that is not an integer | ||
| 2839 | multiple 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 | ||
| 2852 | DEFUN ("set-frame-width", Fset_frame_width, Sset_frame_width, 2, 4, 0, | 2856 | DEFUN ("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. |
| 2854 | Optional third arg PRETEND non-nil means that redisplay should use WIDTH | 2858 | Optional third arg PRETEND non-nil means that redisplay should use WIDTH |
| 2855 | columns but that the idea of the actual width of the frame should not | 2859 | columns but that the idea of the actual width of the frame should not |
| 2856 | be changed. Optional fourth argument PIXELWISE non-nil means that FRAME | 2860 | be changed. |
| 2857 | should be WIDTH pixels wide. */) | 2861 | |
| 2862 | Optional fourth argument PIXELWISE non-nil means that FRAME should be | ||
| 2863 | WIDTH pixels wide. Note: When `frame-resize-pixelwise' is nil, some | ||
| 2864 | window managers may refuse to honor a WIDTH that is not an integer | ||
| 2865 | multiple 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 | ||
| 2874 | DEFUN ("set-frame-size", Fset_frame_size, Sset_frame_size, 3, 4, 0, | 2882 | DEFUN ("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. |
| 2876 | Optional argument PIXELWISE non-nil means to measure in pixels. */) | 2884 | Optional argument PIXELWISE non-nil means to measure in pixels. Note: |
| 2885 | When `frame-resize-pixelwise' is nil, some window managers may refuse to | ||
| 2886 | honor a WIDTH that is not an integer multiple of the default frame font | ||
| 2887 | width or a HEIGHT that is not an integer multiple of the default frame | ||
| 2888 | font 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 | |||
| 4968 | by one pixel. | 4980 | by one pixel. |
| 4969 | 4981 | ||
| 4970 | With some window managers you may have to set this to non-nil in order | 4982 | With some window managers you may have to set this to non-nil in order |
| 4971 | to fully maximize frames. To resize your initial frame pixelwise, set | 4983 | to set the size of a frame in pixels, to maximize frames or to make them |
| 4972 | this option to a non-nil value in your init file. */); | 4984 | fullscreen. To resize your initial frame pixelwise, set this option to |
| 4985 | a 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. |
| 4977 | If this option is nil, setting default font, menubar mode, fringe width, | 4990 | If this option is nil, setting default font, menubar mode, fringe width, |
| 4978 | or scroll bar mode of a specific frame may resize the frame in order to | 4991 | or scroll bar mode of a specific frame may resize the frame in order to |
| 4979 | preserve the number of columns or lines it displays. If this option is | 4992 | preserve the number of columns or lines it displays. If this option is |