diff options
| author | Lars Ingebrigtsen | 2019-08-21 13:05:18 -0700 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-08-21 13:05:18 -0700 |
| commit | 6224fce0d4168fb217175a2c9e40409a0055e436 (patch) | |
| tree | cafa00b39ce2ab324752e71d9e1292affbb44955 /src/frame.c | |
| parent | 6c1cf80721f19c36e71a6825e705d09818b97de7 (diff) | |
| download | emacs-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.c | 4 |
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 | ||
| 3494 | DEFUN ("set-frame-height", Fset_frame_height, Sset_frame_height, 2, 4, | 3494 | DEFUN ("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. |
| 3497 | Optional third arg PRETEND non-nil means that redisplay should use | 3497 | Optional third arg PRETEND non-nil means that redisplay should use |
| 3498 | HEIGHT lines but that the idea of the actual height of the frame should | 3498 | 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. */) | |||
| 3521 | } | 3521 | } |
| 3522 | 3522 | ||
| 3523 | DEFUN ("set-frame-width", Fset_frame_width, Sset_frame_width, 2, 4, | 3523 | DEFUN ("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. |
| 3526 | Optional third arg PRETEND non-nil means that redisplay should use WIDTH | 3526 | Optional third arg PRETEND non-nil means that redisplay should use WIDTH |
| 3527 | columns but that the idea of the actual width of the frame should not | 3527 | columns but that the idea of the actual width of the frame should not |