emacs-31 3eb124692d2: Fix 'format-mode-line' for integer second argument
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: emacs-31 commit 3eb124692d2ed0545aaeb02d9db8c4bbecfa591f Author: Eli Zaretskii <[email protected]> Commit: Eli Zaretskii <[email protected]> Fix 'format-mode-line' for integer second argument * src/xdisp.c (Fformat_mode_line): Test for integers with INTEGERP. (Bug#81272) --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index b440b8f1825..f0c787bcb5c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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;