[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Temporarily remove the mode-line
From: |
Bob Newell |
Subject: |
Re: Temporarily remove the mode-line |
Date: |
Tue, 29 Nov 2022 19:23:18 -1000 |
User-agent: |
Mozilla/6.5 |
>> Toggle it.
Should this possibly be
> (defvar-local old-mode-line nil)
>
> (defun toggle-mode-line ()
> (interactive)
> (setq-local mode-line-format
> (if old-mode-line
> (setq mode-line-format old-mode-line
old-mode-line nil)
> (setq old-mode-line mode-line-format
> mode-line-format nil))))
>
--
Bob Newell
Honolulu, Hawai`i
- Via GNU/Linux/Emacs/Gnus/BBDB