]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fminibuffer_prompt_width): Undo previous change for negative values.
authorKarl Heuer <kwzh@gnu.org>
Thu, 7 Apr 1994 04:13:55 +0000 (04:13 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 7 Apr 1994 04:13:55 +0000 (04:13 +0000)
This function does not include hscroll positioning any more.

src/minibuf.c

index adad052052aea67b15ba376e9af2835a5a51c9f0..ea6214f4ca69d6e171828a9d7e3b26cc9dd323e7 100644 (file)
@@ -1541,13 +1541,11 @@ If no minibuffer is active, return nil.")
 
 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;
 }
 \f