From: Eli Zaretskii Date: Fri, 23 Jun 2023 10:47:33 +0000 (+0300) Subject: Revert "; Fix coding style in just installed change" X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ddf508e8acbe7ad29879dd0a5e341a6acea5c772;p=emacs.git Revert "; Fix coding style in just installed change" This reverts commit 229f0b8dd3b92827b6e0c6fc105508e8b80858f5. This is part of removing the recently-added feature whereby certain non-nil values of 'header-line-format' could signal that the header line shall not be displayed. The feature is being reverted because its advantages are very minor, whereas the complications it causes are serious. --- diff --git a/src/window.c b/src/window.c index 801da24ffbf..58f98e78354 100644 --- a/src/window.c +++ b/src/window.c @@ -5529,10 +5529,10 @@ null_header_line_format (Lisp_Object fmt, struct frame *f) bool window_wants_header_line (struct window *w) { - Lisp_Object window_header_line_format - = window_parameter (w, Qheader_line_format); + Lisp_Object window_header_line_format = + window_parameter (w, Qheader_line_format); - struct frame *f = WINDOW_XFRAME (w); + struct frame *f = WINDOW_XFRAME(w); return (WINDOW_LEAF_P (w) && !MINI_WINDOW_P (w)