Преглед на файлове

ox-taskjuggler.el: Fix fetching of dependency options

* contrib/lisp/ox-taskjuggler.el (org-taskjuggler-format-dependencies):
Pass string that was used in string-match to
org-match-string-no-properties. This fixes a problem with dependency
options.
Christian Egli преди 10 години
родител
ревизия
1f51836c57
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      contrib/lisp/ox-taskjuggler.el

+ 1 - 1
contrib/lisp/ox-taskjuggler.el

@@ -587,7 +587,7 @@ doesn't include leading \"depends\"."
 		   (let ((id (org-element-property :TASK_ID dep)))
 		     (and id
 			  (string-match (concat id " +\\({.*?}\\)") dep-str)
-			  (org-match-string-no-properties 1))))
+			  (org-match-string-no-properties 1 dep-str))))
 		  path)
 	      ;; Compute number of exclamation marks by looking for the
 	      ;; common ancestor between TASK and DEP.