emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/nano-modeline 5ebc07a 05/25: Updated org capture mode


From: ELPA Syncer
Subject: [elpa] externals/nano-modeline 5ebc07a 05/25: Updated org capture mode
Date: Thu, 23 Dec 2021 12:57:29 -0500 (EST)

branch: externals/nano-modeline
commit 5ebc07a0be32b7f82c3fb01f01326a2f659b44ef
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>

    Updated org capture mode
---
 nano-modeline.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/nano-modeline.el b/nano-modeline.el
index c8c9b54..557659c 100644
--- a/nano-modeline.el
+++ b/nano-modeline.el
@@ -342,10 +342,10 @@ Modeline is composed as:
   (bound-and-true-p org-capture-mode))
 
 (defun nano-modeline-org-capture-mode ()
-  (nano-modeline-compose (nano-modeline-status)
-                         "Capture"
-                         "(org)"
-                         ""))
+  (nano-modeline-render "ORG" 
+                        "Capture"
+                        (concat "(" (org-capture-get :description) ")")
+                        ""))
 
 (defun nano-modeline-org-capture-turn-off-header-line ()
   (setq-local header-line-format (default-value 'header-line-format))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]