From: Lars Ingebrigtsen Date: Wed, 21 Aug 2019 20:05:18 +0000 (-0700) Subject: Fix the interactive spec for set-frame-width/height X-Git-Tag: emacs-27.0.90~1328^2~148 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6224fce0d4168fb217175a2c9e40409a0055e436;p=emacs.git 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). --- 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 } 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