emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 6224fce: Fix the interactive spec for set-frame-wid


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 6224fce: Fix the interactive spec for set-frame-width/height
Date: Wed, 21 Aug 2019 16:05:36 -0400 (EDT)

branch: master
commit 6224fce0d4168fb217175a2c9e40409a0055e436
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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).
---
 src/frame.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/frame.c b/src/frame.c
index 50a7f13..a0da55c 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]