Procházet zdrojové kódy

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 před 10 roky
rodič
revize
1f51836c57
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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.