diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-05-04 14:23:57 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-05-04 14:23:57 +0200 |
commit | 3308a5ecfe0ac254e2582362703dff6cff151cc9 (patch) | |
tree | a552f68c30c12b390f90a2afe2394620ff640fab | |
parent | b46527a8ba90c9f8c3b2425d934fa69fea8bb7fe (diff) | |
parent | 8638c14fbdb5a8ca4ed04c0343f246eed4e22760 (diff) | |
download | org-mode-3308a5ecfe0ac254e2582362703dff6cff151cc9.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/org-agenda.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 85a6ccf..ef41678 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -5682,8 +5682,8 @@ This function is invoked if `org-agenda-todo-ignore-deadlines', (memq 'agenda org-agenda-use-tag-inheritance)))) tags (org-get-tags-at nil (not inherited-tags)) level (make-string (org-reduced-level (org-outline-level)) ? )) - (looking-at "\\*+[ \t]+\\([^\r\n]+\\)") - (setq head (or (match-string 1) "")) + (looking-at "\\*+[ \t]+\\(.*\\)") + (setq head (match-string 1)) (setq txt (org-agenda-format-item (if inactivep org-agenda-inactive-leader nil) head level category tags timestr @@ -6424,7 +6424,7 @@ scheduled items with an hour specification like [h]h:mm." tags (org-get-tags-at nil (not inherited-tags))) (setq level (make-string (org-reduced-level (org-outline-level)) ? )) - (looking-at "\\*+[ \t]+\\([^\r\n]+\\)") + (looking-at "\\*+[ \t]+\\(.*\\)") (setq head (match-string 1)) (let ((remove-re (if org-agenda-remove-timeranges-from-blocks |