diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/minibuf.c | 6 |
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 | ||
| 1542 | DEFUN ("minibuffer-prompt-width", Fminibuffer_prompt_width, | 1542 | DEFUN ("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.") |
| 1545 | This may be less than the actual display width of the minibuffer prompt,\n\ | ||
| 1546 | or 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 | ||