فهرست منبع

org-agenda.el: Bugfix.

* org-agenda.el (org-agenda-get-deadlines)
(org-agenda-get-scheduled): Fix bug: use text properties for
the headline text since we rely on properties to get e.g. the
effort.
Bastien Guerry 12 سال پیش
والد
کامیت
b07a9bb29a
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      lisp/org-agenda.el

+ 2 - 2
lisp/org-agenda.el

@@ -5949,7 +5949,7 @@ See also the user option `org-agenda-clock-consistency-checks'."
 				 (or (eq org-agenda-use-tag-inheritance t)
 				     (memq 'agenda org-agenda-use-tag-inheritance))))
 			tags (org-get-tags-at pos1 (not inherited-tags)))
-		  (setq head (buffer-substring-no-properties
+		  (setq head (buffer-substring
 			      (point)
 			      (progn (skip-chars-forward "^\r\n")
 				     (point))))
@@ -6086,7 +6086,7 @@ FRACTION is what fraction of the head-warning time has passed."
 			       (or (eq org-agenda-use-tag-inheritance t)
 				   (memq 'agenda org-agenda-use-tag-inheritance))))
 		      tags (org-get-tags-at nil (not inherited-tags)))
-		(setq head (buffer-substring-no-properties
+		(setq head (buffer-substring
 			    (point)
 			    (progn (skip-chars-forward "^\r\n") (point))))
 		(if (string-match " \\([012]?[0-9]:[0-9][0-9]\\)" s)