diff options
| author | Manuel Giraud | 2022-10-15 18:58:56 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2022-10-17 13:51:39 +0300 |
| commit | efd3ef3ceb799fa26be8f84d54d4a21ebc4a5d31 (patch) | |
| tree | e3d9c91e66836f1a44360457521fa80226b27634 /src/window.c | |
| parent | 067361f3a29ae23ff609a4308dd025fe783b9723 (diff) | |
| download | emacs-efd3ef3ceb799fa26be8f84d54d4a21ebc4a5d31.tar.gz emacs-efd3ef3ceb799fa26be8f84d54d4a21ebc4a5d31.zip | |
; * src/window.c: Fix some comments. (Bug#58550)
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/window.c b/src/window.c index ed30544ff83..51fd2abc5b5 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -5403,12 +5403,13 @@ window_wants_mode_line (struct window *w) | |||
| 5403 | * Return 1 if window W wants a header line and is high enough to | 5403 | * Return 1 if window W wants a header line and is high enough to |
| 5404 | * accommodate it, 0 otherwise. | 5404 | * accommodate it, 0 otherwise. |
| 5405 | * | 5405 | * |
| 5406 | * W wants a header line if it's a leaf window and neither a minibuffer | 5406 | * W wants a header line if it's a leaf window and neither a |
| 5407 | * nor a pseudo window. Moreover, its 'window-mode-line-format' | 5407 | * minibuffer nor a pseudo window. Moreover, its |
| 5408 | * parameter must not be 'none' and either that parameter or W's | 5408 | * 'window-header-line-format' parameter must not be 'none' and either |
| 5409 | * buffer's 'mode-line-format' value must be non-nil. Finally, W must | 5409 | * that parameter or W's buffer's 'header-line-format' value must be |
| 5410 | * be higher than its frame's canonical character height and be able to | 5410 | * non-nil. Finally, W must be higher than its frame's canonical |
| 5411 | * accommodate a mode line too if necessary (the mode line prevails). | 5411 | * character height and be able to accommodate a mode line too if |
| 5412 | * necessary (the mode line prevails). | ||
| 5412 | */ | 5413 | */ |
| 5413 | bool | 5414 | bool |
| 5414 | window_wants_header_line (struct window *w) | 5415 | window_wants_header_line (struct window *w) |
| @@ -5436,9 +5437,9 @@ window_wants_header_line (struct window *w) | |||
| 5436 | * accommodate it, 0 otherwise. | 5437 | * accommodate it, 0 otherwise. |
| 5437 | * | 5438 | * |
| 5438 | * W wants a tab line if it's a leaf window and neither a minibuffer | 5439 | * W wants a tab line if it's a leaf window and neither a minibuffer |
| 5439 | * nor a pseudo window. Moreover, its 'window-mode-line-format' | 5440 | * nor a pseudo window. Moreover, its 'window-tab-line-format' |
| 5440 | * parameter must not be 'none' and either that parameter or W's | 5441 | * parameter must not be 'none' and either that parameter or W's |
| 5441 | * buffer's 'mode-line-format' value must be non-nil. Finally, W must | 5442 | * buffer's 'tab-line-format' value must be non-nil. Finally, W must |
| 5442 | * be higher than its frame's canonical character height and be able | 5443 | * be higher than its frame's canonical character height and be able |
| 5443 | * to accommodate a mode line and a header line too if necessary (the | 5444 | * to accommodate a mode line and a header line too if necessary (the |
| 5444 | * mode line and a header line prevail). | 5445 | * mode line and a header line prevail). |