[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 90a9ee1 08/41: lisp/org-agenda.el: Fix bug in `org-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 90a9ee1 08/41: lisp/org-agenda.el: Fix bug in `org-agenda-highlight-todo' |
Date: |
Sun, 16 May 2021 04:57:15 -0400 (EDT) |
branch: externals/org
commit 90a9ee17410a4b6663f5957c653258e9f9418d7d
Author: Samim Pezeshki <p.samim@gmail.com>
Commit: Bastien <bzg@gnu.org>
lisp/org-agenda.el: Fix bug in `org-agenda-highlight-todo'
* lisp/org-agenda.el (org-agenda-highlight-todo): Skip formatting
the to-do keyword when `org-agenda-todo-keyword-format' is the
empty string.
TINYCHANGE
---
lisp/org-agenda.el | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index cbae3c0..b45b855 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -7144,12 +7144,13 @@ The optional argument TYPE tells the agenda type."
(setq x
(concat
(substring x 0 (match-end 1))
- (format org-agenda-todo-keyword-format
- (match-string 2 x))
- ;; Remove `display' property as the icon could leak
- ;; on the white space.
- (org-add-props " " (org-plist-delete (text-properties-at 0 x)
- 'display))
+ (unless (string-empty-p org-agenda-todo-keyword-format)
+ (format org-agenda-todo-keyword-format
+ (match-string 2 x))
+ ;; Remove `display' property as the icon could leak
+ ;; on the white space.
+ (org-add-props " " (org-plist-delete (text-properties-at 0
x)
+ 'display)))
(substring x (match-end 3)))))))
x)))
- [elpa] externals/org updated (e444181 -> 70d98b5), ELPA Syncer, 2021/05/16
- [elpa] externals/org dcb6013 02/41: agenda: Fix org-duration-to-minutes error (take 2), ELPA Syncer, 2021/05/16
- [elpa] externals/org 0e39bf8 03/41: Throw user errors when trying to drag inline tasks, ELPA Syncer, 2021/05/16
- [elpa] externals/org 3581f37 04/41: CONTRIBUTE: Small enhancements, ELPA Syncer, 2021/05/16
- [elpa] externals/org fa3c9c8 05/41: lisp/org-id.el: Small enhancements, ELPA Syncer, 2021/05/16
- [elpa] externals/org 90a9ee1 08/41: lisp/org-agenda.el: Fix bug in `org-agenda-highlight-todo',
ELPA Syncer <=
- [elpa] externals/org f318cd6 14/41: Fix test-org-element/cache "Preserve local structures when re-parenting.", ELPA Syncer, 2021/05/16
- [elpa] externals/org f00ad09 10/41: org-refile.el: Fix the case of emtpy buffer name, ELPA Syncer, 2021/05/16
- [elpa] externals/org 7dcb1af 11/41: Improve org-link-plain-re, ELPA Syncer, 2021/05/16
- [elpa] externals/org bfda3cc 13/41: lisp/org.el: Don't let RET indent in source code blocks, ELPA Syncer, 2021/05/16
- [elpa] externals/org 24473b5 15/41: lisp/org.el: Use "[BUG]" instead of "Bug:" for bug reports, ELPA Syncer, 2021/05/16
- [elpa] externals/org 8531bb6 09/41: lisp/org.el: Minor aesthetic clean-up, ELPA Syncer, 2021/05/16
- [elpa] externals/org 88fbe21 01/41: Add Luc Pellissier as maintainer for two ob-* files, ELPA Syncer, 2021/05/16
- [elpa] externals/org dd88356 06/41: lisp/org-inlinetask.el: Silent the byte-compiler, ELPA Syncer, 2021/05/16
- [elpa] externals/org 5a0f6c9 07/41: lisp/ox-md.el: Mark some arguments as unused, ELPA Syncer, 2021/05/16
- [elpa] externals/org 99d873b 12/41: lisp/org.el: Fix indenting of planning line, ELPA Syncer, 2021/05/16