summaryrefslogtreecommitdiff
path: root/devdocs/elisp/header-lines.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/elisp/header-lines.html
new repository
Diffstat (limited to 'devdocs/elisp/header-lines.html')
-rw-r--r--devdocs/elisp/header-lines.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/devdocs/elisp/header-lines.html b/devdocs/elisp/header-lines.html
new file mode 100644
index 00000000..d5d20858
--- /dev/null
+++ b/devdocs/elisp/header-lines.html
@@ -0,0 +1,10 @@
+ <h4 class="subsection">Window Header Lines</h4> <p>A window can have a <em>header line</em> at the top, just as it can have a mode line at the bottom. The header line feature works just like the mode line feature, except that it’s controlled by <code>header-line-format</code>: </p> <dl> <dt id="header-line-format">Variable: <strong>header-line-format</strong>
+</dt> <dd><p>This variable, local in every buffer, specifies how to display the header line, for windows displaying the buffer. The format of the value is the same as for <code>mode-line-format</code> (see <a href="mode-line-data">Mode Line Data</a>). It is normally <code>nil</code>, so that ordinary buffers have no header line. </p></dd>
+</dl> <dl> <dt id="window-header-line-height">Function: <strong>window-header-line-height</strong> <em>&amp;optional window</em>
+</dt> <dd><p>This function returns the height in pixels of <var>window</var>’s header line. <var>window</var> must be a live window, and defaults to the selected window. </p></dd>
+</dl> <p>A window that is just one line tall never displays a header line. A window that is two lines tall cannot display both a mode line and a header line at once; if it has a mode line, then it does not display a header line. </p><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
+ <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Header-Lines.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Header-Lines.html</a>
+ </p>
+</div>