[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/nano-modeline 5956e5a4fe 14/18: Fixed and simplified cu
From: |
ELPA Syncer |
Subject: |
[elpa] externals/nano-modeline 5956e5a4fe 14/18: Fixed and simplified custom format for modes |
Date: |
Thu, 12 May 2022 07:57:50 -0400 (EDT) |
branch: externals/nano-modeline
commit 5956e5a4fe5338bfc33f9e5ff0a35bc91d6ca014
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Fixed and simplified custom format for modes
---
nano-modeline.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/nano-modeline.el b/nano-modeline.el
index 9ed01ec72f..8bc3e99593 100644
--- a/nano-modeline.el
+++ b/nano-modeline.el
@@ -212,7 +212,7 @@ This is useful (aesthetically) if the face of prefix uses a
different background
(defcustom nano-modeline-mode-formats
'(;; with :mode-p first
- (imenu-list-mode :mode nano-modeline-imenu-list-mode-p
+ (imenu-list-mode :mode-p nano-modeline-imenu-list-mode-p
:format nano-modeline-imenu-list-mode
:icon "") ;; nerd-font / oct-three-bars
(prog-mode :mode-p nano-modeline-prog-mode-p
@@ -324,8 +324,7 @@ KEY mode name, for reference only. Easier to do lookups
and/or replacements.
(const :format)
(const :icon)
(const :on-activate)
- (const :on-inactivate))
- :value-type (radio function string)))
+ (const :on-inactivate))))
:group 'nano-modeline)
(defcustom nano-modeline-mode-format-activate-hook nil
@@ -973,7 +972,6 @@ depending on the version of mu4e."
;; ---------------------------------------------------------------------
(defun nano-modeline-imenu-list-mode-p ()
- (message "imenu mode: %s" (derived-mode-p 'imenu-list-major-mode))
(derived-mode-p 'imenu-list-major-mode))
(defun nano-modeline-imenu-list-mode (&optional icon)
- [elpa] externals/nano-modeline 1cf4bf79f8 03/18: Added dedicated window marker., (continued)
- [elpa] externals/nano-modeline 1cf4bf79f8 03/18: Added dedicated window marker., ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline 60bd1018af 02/18: Fix in default faces, ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline 0eec0875f0 04/18: Put back symbol as prefix for menu access., ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline cdfc604ff9 07/18: Adding option for no prefix, default prefix and icon., ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline 3e020163fe 01/18: Experimental branch, ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline 87d658bf37 08/18: Fix to make sure org-clock-mode is really on, ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline fee1f3c1e0 12/18: Changed default option to status, ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline ce924479de 05/18: Moved dedcited/modified status at end of modeline., ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline f75b90da5d 09/18: Read status from base buffer in case buffer is indirect, ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline 5948e191f1 06/18: Bugfix: uncommented text mode, ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline 5956e5a4fe 14/18: Fixed and simplified custom format for modes,
ELPA Syncer <=
- [elpa] externals/nano-modeline cdedb79ab5 17/18: Fixed imenu list mode (faulty code), ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline 960ff4f01a 16/18: Version 0.7, ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline d37ff5b014 18/18: Merge branch 'no-prefix', ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline acd020a045 10/18: Added imenu-list mode, ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline 6ab5d5b94d 15/18: Better display format for org headings, ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline a4e72d1486 11/18: Added handling of indirect buffer, ELPA Syncer, 2022/05/12
- [elpa] externals/nano-modeline 532f557c08 13/18: Space computation now takes right margin into account, ELPA Syncer, 2022/05/12