diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-11 13:05:41 +0530 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-11 13:05:41 +0530 |
commit | 6aa3c170e93ea9a88b16816a3396778def524a01 (patch) | |
tree | 72f1d9720a915d0cfc9e97016900e66c7a272069 /Emacs/.config/emacs/elisp/hide-mode-line.el | |
parent | 40240bbfd7d508570856fdaa43274baa31a30e53 (diff) | |
download | dotfiles-6aa3c170e93ea9a88b16816a3396778def524a01.tar.gz dotfiles-6aa3c170e93ea9a88b16816a3396778def524a01.tar.bz2 dotfiles-6aa3c170e93ea9a88b16816a3396778def524a01.zip |
(Emacs/*)~clean up text, change license of elisp packages to GPLv2 strictly
Diffstat (limited to 'Emacs/.config/emacs/elisp/hide-mode-line.el')
-rw-r--r-- | Emacs/.config/emacs/elisp/hide-mode-line.el | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Emacs/.config/emacs/elisp/hide-mode-line.el b/Emacs/.config/emacs/elisp/hide-mode-line.el index a16667d..488bf3f 100644 --- a/Emacs/.config/emacs/elisp/hide-mode-line.el +++ b/Emacs/.config/emacs/elisp/hide-mode-line.el @@ -5,10 +5,9 @@ ;; Author: Aryadev Chavali <aryadev@aryadevchavali.com> ;; Keywords: -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation, either version 3 of the License, or -;; (at your option) any later version. +;; This program is free software; you can redistribute it and/or +;; modify it under the terms of the GNU General Public License version +;; 2 as published by the Free Software Foundation. ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -31,11 +30,9 @@ "Hides the mode line." :lighter nil (if mode-line-format - (progn - (setq-local hide-mode-line--prev-mode-line mode-line-format) - (setq-local mode-line-format nil)) - (setq-local mode-line-format hide-mode-line--prev-mode-line))) - + (setq-local hide-mode-line--prev-mode-line mode-line-format + mode-line-format nil) + (setq-local mode-line-format hide-mode-line--prev-mode-line))) (provide 'hide-mode-line) ;;; hide-mode-line.el ends here |