aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-08-21 13:05:18 -0700
committerLars Ingebrigtsen2019-08-21 13:05:18 -0700
commit6224fce0d4168fb217175a2c9e40409a0055e436 (patch)
treecafa00b39ce2ab324752e71d9e1292affbb44955 /src/frame.c
parent6c1cf80721f19c36e71a6825e705d09818b97de7 (diff)
downloademacs-6224fce0d4168fb217175a2c9e40409a0055e436.tar.gz
emacs-6224fce0d4168fb217175a2c9e40409a0055e436.zip
Fix the interactive spec for set-frame-width/height
* src/frame.c (Fset_frame_width): (Fset_frame_height): Use `prefix-numeric-value' to get the proper numeric value (bug#9970).
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c
index 50a7f138b81..a0da55c0e9d 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -3492,7 +3492,7 @@ DEFUN ("frame-bottom-divider-width", Fbottom_divider_width, Sbottom_divider_widt
3492} 3492}
3493 3493
3494DEFUN ("set-frame-height", Fset_frame_height, Sset_frame_height, 2, 4, 3494DEFUN ("set-frame-height", Fset_frame_height, Sset_frame_height, 2, 4,
3495 "(list (selected-frame) current-prefix-arg)", 3495 "(list (selected-frame) (prefix-numeric-value current-prefix-arg))",
3496 doc: /* Set text height of frame FRAME to HEIGHT lines. 3496 doc: /* Set text height of frame FRAME to HEIGHT lines.
3497Optional third arg PRETEND non-nil means that redisplay should use 3497Optional third arg PRETEND non-nil means that redisplay should use
3498HEIGHT lines but that the idea of the actual height of the frame should 3498HEIGHT lines but that the idea of the actual height of the frame should
@@ -3521,7 +3521,7 @@ currenly selected frame will be set to this height. */)
3521} 3521}
3522 3522
3523DEFUN ("set-frame-width", Fset_frame_width, Sset_frame_width, 2, 4, 3523DEFUN ("set-frame-width", Fset_frame_width, Sset_frame_width, 2, 4,
3524 "(list (selected-frame) current-prefix-arg)", 3524 "(list (selected-frame) (prefix-numeric-value current-prefix-arg))",
3525 doc: /* Set text width of frame FRAME to WIDTH columns. 3525 doc: /* Set text width of frame FRAME to WIDTH columns.
3526Optional third arg PRETEND non-nil means that redisplay should use WIDTH 3526Optional third arg PRETEND non-nil means that redisplay should use WIDTH
3527columns but that the idea of the actual width of the frame should not 3527columns but that the idea of the actual width of the frame should not