aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-04-07 04:13:55 +0000
committerKarl Heuer1994-04-07 04:13:55 +0000
commitc5896ef4eb6e54b81de0a3855a1ef1ae12eb112a (patch)
tree1c472878a0e07e93f174cbf70c3657ecb8e8a8fd /src
parent9ae6d54ae25da08170c2fd56e76554bb8fbd6b49 (diff)
downloademacs-c5896ef4eb6e54b81de0a3855a1ef1ae12eb112a.tar.gz
emacs-c5896ef4eb6e54b81de0a3855a1ef1ae12eb112a.zip
(Fminibuffer_prompt_width): Undo previous change for negative values.
This function does not include hscroll positioning any more.
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index adad052052a..ea6214f4ca6 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1541,13 +1541,11 @@ If no minibuffer is active, return nil.")
1541 1541
1542DEFUN ("minibuffer-prompt-width", Fminibuffer_prompt_width, 1542DEFUN ("minibuffer-prompt-width", Fminibuffer_prompt_width,
1543 Sminibuffer_prompt_width, 0, 0, 0, 1543 Sminibuffer_prompt_width, 0, 0, 0,
1544 "Return the horizontal position after the minibuffer prompt.\n\ 1544 "Return the display width of the minibuffer prompt.")
1545This may be less than the actual display width of the minibuffer prompt,\n\
1546or even negative, if horizontal scrolling is in effect in the minibuffer.")
1547 () 1545 ()
1548{ 1546{
1549 Lisp_Object width; 1547 Lisp_Object width;
1550 XSET (width, Lisp_Int, minibuf_prompt_width); 1548 XFASTINT (width) = minibuf_prompt_width;
1551 return width; 1549 return width;
1552} 1550}
1553 1551