mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 15:56:35 -04:00
Fix 'format-mode-line' for integer second argument
* src/xdisp.c (Fformat_mode_line): Test for integers with INTEGERP. (Bug#81272)
This commit is contained in:
parent
4f1af6fa6e
commit
3eb124692d
|
|
@ -29001,7 +29001,7 @@ are the selected window and the WINDOW's buffer). */)
|
|||
struct window *w;
|
||||
struct buffer *old_buffer = NULL;
|
||||
int face_id;
|
||||
bool no_props = FIXNUMP (face);
|
||||
bool no_props = INTEGERP (face);
|
||||
specpdl_ref count = SPECPDL_INDEX ();
|
||||
Lisp_Object str;
|
||||
int string_start = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue