diff src/minibuf.c @ 6720:9ecffdca3b7a

(Fminibuffer_prompt_width): Undo previous change for negative values. This function does not include hscroll positioning any more.
author Karl Heuer <kwzh@gnu.org>
date Thu, 07 Apr 1994 04:13:55 +0000
parents 336ac455547c
children ef62a96ce830
line wrap: on
line diff
--- a/src/minibuf.c	Thu Apr 07 03:29:18 1994 +0000
+++ b/src/minibuf.c	Thu Apr 07 04:13:55 1994 +0000
@@ -1541,13 +1541,11 @@
 
 DEFUN ("minibuffer-prompt-width", Fminibuffer_prompt_width,
   Sminibuffer_prompt_width, 0, 0, 0,
-  "Return the horizontal position after the minibuffer prompt.\n\
-This may be less than the actual display width of the minibuffer prompt,\n\
-or even negative, if horizontal scrolling is in effect in the minibuffer.")
+  "Return the display width of the minibuffer prompt.")
   ()
 {
   Lisp_Object width;
-  XSET (width, Lisp_Int, minibuf_prompt_width);
+  XFASTINT (width) = minibuf_prompt_width;
   return width;
 }