changeset 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 19e24f897722
children 26e4c96d8b63
files src/minibuf.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
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;
 }