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

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

[elpa] externals/nano-modeline 87d658bf37 08/18: Fix to make sure org-cl


From: ELPA Syncer
Subject: [elpa] externals/nano-modeline 87d658bf37 08/18: Fix to make sure org-clock-mode is really on
Date: Thu, 12 May 2022 07:57:49 -0400 (EDT)

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

    Fix to make sure org-clock-mode is really on
---
 nano-modeline.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nano-modeline.el b/nano-modeline.el
index c981982100..706af992ae 100644
--- a/nano-modeline.el
+++ b/nano-modeline.el
@@ -833,7 +833,8 @@ depending on the version of mu4e."
 ;; ---------------------------------------------------------------------
 (defun nano-modeline-org-clock-mode-p ()
   (and (boundp 'org-mode-line-string)
-       (stringp org-mode-line-string)))
+       (stringp org-mode-line-string)
+       (> (length org-mode-line-string) 0)))
 
 (defun nano-modeline-org-clock-mode ()
     (let ((buffer-name (format-mode-line "%b"))



reply via email to

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