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).
This commit is contained in:
Lars Ingebrigtsen 2019-08-21 13:05:18 -07:00
parent 6c1cf80721
commit 6224fce0d4

View file

@ -3492,7 +3492,7 @@ DEFUN ("frame-bottom-divider-width", Fbottom_divider_width, Sbottom_divider_widt
}
DEFUN ("set-frame-height", Fset_frame_height, Sset_frame_height, 2, 4,
"(list (selected-frame) current-prefix-arg)",
"(list (selected-frame) (prefix-numeric-value current-prefix-arg))",
doc: /* Set text height of frame FRAME to HEIGHT lines.
Optional third arg PRETEND non-nil means that redisplay should use
HEIGHT 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. */)
}
DEFUN ("set-frame-width", Fset_frame_width, Sset_frame_width, 2, 4,
"(list (selected-frame) current-prefix-arg)",
"(list (selected-frame) (prefix-numeric-value current-prefix-arg))",
doc: /* Set text width of frame FRAME to WIDTH columns.
Optional third arg PRETEND non-nil means that redisplay should use WIDTH
columns but that the idea of the actual width of the frame should not