[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segfault in format-mode-line
From: |
Kim F. Storm |
Subject: |
Re: Segfault in format-mode-line |
Date: |
Thu, 13 Jan 2005 10:44:28 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
address@hidden (Johan Bockgård) writes:
> In GNU Emacs 21.3.50.9 (sparc-sun-solaris2.8, X toolkit)
> of 2005-01-13 on frealaf.dd.chalmers.se
>
> Emacs segfaults when `format-mode-line' is called with a nil FACE arg,
>
> (format-mode-line "")
Fixed.
Note that the arg list to format-mode-line has been reworked.
Here is the new doc string:
+--------------------
| format-mode-line is a built-in function in `C source code'.
| (format-mode-line format &optional face window buffer)
|
| Format a string out of a mode line format specification.
| First arg format specifies the mode line format (see `mode-line-format'
| for details) to use.
|
| Optional second arg face specifies the face property to put
| on all characters for which no face is specified.
| t means whatever face the window's mode line currently uses
| (either `mode-line' or `mode-line-inactive', depending).
| nil means the default is no face property.
| If face is an integer, the value string has no text properties.
|
| Optional third and fourth args window and buffer specify the window
| and buffer to use as the context for the formatting (defaults
| are the selected window and the window's buffer).