[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/nano-modeline bd3d233 3/8: Refactored as a minor mode (
From: |
ELPA Syncer |
Subject: |
[elpa] externals/nano-modeline bd3d233 3/8: Refactored as a minor mode (WIP) |
Date: |
Thu, 7 Oct 2021 06:57:25 -0400 (EDT) |
branch: externals/nano-modeline
commit bd3d23305bac6c9303f9dc97324222fc8f2da035
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Refactored as a minor mode (WIP)
---
nano-modeline.el | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/nano-modeline.el b/nano-modeline.el
index 996ea38..6d0423f 100644
--- a/nano-modeline.el
+++ b/nano-modeline.el
@@ -430,7 +430,6 @@ depending on the version of mu4e."
(format-time-string "%A %d %B %Y, %H:%M")))
;; ---------------------------------------------------------------------
-
(defun nano-modeline-mu4e-quote (str)
(if (string> mu4e-mu-version "1.6.5")
(mu4e~quote-for-modeline str)
@@ -489,7 +488,6 @@ depending on the version of mu4e."
(nano-modeline-compose (nano-modeline-status)
"Message" "(draft)" ""))
-
;; ---------------------------------------------------------------------
(defvar org-mode-line-string nil)
(with-eval-after-load 'org-clock
@@ -576,7 +574,6 @@ depending on the version of mu4e."
;;(add-hook 'Buffer-menu-mode-hook
;; #'buffer-menu-mode-header-line)
-
;; ---------------------------------------------------------------------
(defun nano-modeline-completion-list-mode-p ()
(derived-mode-p 'completion-list-mode))
@@ -648,7 +645,7 @@ depending on the version of mu4e."
:box 'unspecified :inherit 'unspecified))
-
+;; ---------------------------------------------------------------------
(defvar nano-modeline--saved-mode-line-format nil)
(defvar nano-modeline--saved-header-line-format nil)
(defvar nano-modeline--selected-window nil)
@@ -659,7 +656,7 @@ depending on the version of mu4e."
(defun nano-modeline-mode--activate ()
- ""
+ "Activate nano modeline"
;; Save current mode-line and header-line
(unless nano-modeline--saved-mode-line-format
@@ -773,7 +770,7 @@ depending on the version of mu4e."
(defun nano-modeline-mode--inactivate ()
- ""
+ "Inactivate nano mode line and restored default mode-line"
(custom-reevaluate-setting 'Info-use-header-line)
(custom-reevaluate-setting 'Buffer-menu-use-header-line)
- [elpa] externals/nano-modeline updated (8052795 -> 3ea5991), ELPA Syncer, 2021/10/07
- [elpa] externals/nano-modeline 9fc375f 1/8: Code cleanup, ELPA Syncer, 2021/10/07
- [elpa] externals/nano-modeline 45c1eef 2/8: Refactored as a minor mode (WIP), ELPA Syncer, 2021/10/07
- [elpa] externals/nano-modeline c36d10c 4/8: Removed nano faces and add hooks handling, ELPA Syncer, 2021/10/07
- [elpa] externals/nano-modeline dcc52ba 5/8: Cleanup code, ELPA Syncer, 2021/10/07
- [elpa] externals/nano-modeline 19b39f7 6/8: Cleanup code, ELPA Syncer, 2021/10/07
- [elpa] externals/nano-modeline 8347f13 7/8: Updated README, ELPA Syncer, 2021/10/07
- [elpa] externals/nano-modeline bd3d233 3/8: Refactored as a minor mode (WIP),
ELPA Syncer <=
- [elpa] externals/nano-modeline 3ea5991 8/8: Fix mu4e + linting, ELPA Syncer, 2021/10/07