From 6aa3c170e93ea9a88b16816a3396778def524a01 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 11 May 2024 13:05:41 +0530 Subject: (Emacs/*)~clean up text, change license of elisp packages to GPLv2 strictly --- Emacs/.config/emacs/elisp/hide-mode-line.el | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'Emacs/.config/emacs/elisp/hide-mode-line.el') 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 ;; 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 -- cgit v1.2.3-13-gbd6f