Jelajahi Sumber

org-agenda.el (org-agenda-format-item): Fix initialization of the level text property

* org-agenda.el (org-agenda-format-item): Fix initialization
of the level text property.

Thanks to Daniel Clemente for reporting this problem.
Bastien Guerry 12 tahun lalu
induk
melakukan
8365b738ee
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 1
      lisp/org-agenda.el

+ 3 - 1
lisp/org-agenda.el

@@ -6039,7 +6039,8 @@ Any match of REMOVE-RE will be removed from TXT."
 			 (t ""))
 	      extra (or (and (not habitp) extra) "")
 	      category (if (symbolp category) (symbol-name category) category)
-	      thecategory (copy-sequence category))
+	      thecategory (copy-sequence category)
+	      level (or level ""))
 	(if (string-match org-bracket-link-regexp category)
 	    (progn
 	      (setq l (if (match-end 3)
@@ -6068,6 +6069,7 @@ Any match of REMOVE-RE will be removed from TXT."
 	  'effort effort
 	  'effort-minutes neffort
 	  'txt txt
+	  'level level
 	  'time time
 	  'extra extra
 	  'format org-prefix-format-compiled