aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/org
diff options
context:
space:
mode:
authorPaul Eggert2011-11-18 00:31:02 -0800
committerPaul Eggert2011-11-18 00:31:02 -0800
commit3ed8598c49cbbe3aa3a3605a28d9b7f2df3caf1e (patch)
treeeedcfcd5751edab39f795fcfb688e1e5cc3ad128 /lisp/org
parent5c3a902f0fe2c2306ea7b340d701c1a855d1a3d5 (diff)
downloademacs-3ed8598c49cbbe3aa3a3605a28d9b7f2df3caf1e.tar.gz
emacs-3ed8598c49cbbe3aa3a3605a28d9b7f2df3caf1e.zip
Spelling fixes.
Diffstat (limited to 'lisp/org')
-rw-r--r--lisp/org/org-taskjuggler.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/org/org-taskjuggler.el b/lisp/org/org-taskjuggler.el
index 0d9516a389e..1fb3114bf3f 100644
--- a/lisp/org/org-taskjuggler.el
+++ b/lisp/org/org-taskjuggler.el
@@ -70,7 +70,7 @@
70;; "taskjuggler_project" (or whatever you customized 70;; "taskjuggler_project" (or whatever you customized
71;; `org-export-taskjuggler-project-tag' to). You are now ready to 71;; `org-export-taskjuggler-project-tag' to). You are now ready to
72;; export the project plan with `org-export-as-taskjuggler-and-open' 72;; export the project plan with `org-export-as-taskjuggler-and-open'
73;; which will export the project plan and open a gant chart in 73;; which will export the project plan and open a Gantt chart in
74;; TaskJugglerUI. 74;; TaskJugglerUI.
75;; 75;;
76;; * Resources 76;; * Resources
@@ -354,8 +354,8 @@ information, all the properties, etc."
354 (let* ((props (org-entry-properties)) 354 (let* ((props (org-entry-properties))
355 (components (org-heading-components)) 355 (components (org-heading-components))
356 (level (nth 1 components)) 356 (level (nth 1 components))
357 (headline 357 (headline
358 (replace-regexp-in-string 358 (replace-regexp-in-string
359 "\"" "\\\"" (nth 4 components) t t)) ; quote double quotes in headlines 359 "\"" "\\\"" (nth 4 components) t t)) ; quote double quotes in headlines
360 (parent-ordered (org-taskjuggler-parent-is-ordered-p))) 360 (parent-ordered (org-taskjuggler-parent-is-ordered-p)))
361 (push (cons "level" level) props) 361 (push (cons "level" level) props)
@@ -405,10 +405,10 @@ deeper), then it's not a leaf."
405 (successor (car (cdr tasks)))) 405 (successor (car (cdr tasks))))
406 (cond 406 (cond
407 ;; if a task has no successors it is a leaf 407 ;; if a task has no successors it is a leaf
408 ((null successor) 408 ((null successor)
409 (push (cons (cons "leaf-node" t) task) new-list)) 409 (push (cons (cons "leaf-node" t) task) new-list))
410 ;; if the successor has a lower level than task it is a leaf 410 ;; if the successor has a lower level than task it is a leaf
411 ((<= (cdr (assoc "level" successor)) (cdr (assoc "level" task))) 411 ((<= (cdr (assoc "level" successor)) (cdr (assoc "level" task)))
412 (push (cons (cons "leaf-node" t) task) new-list)) 412 (push (cons (cons "leaf-node" t) task) new-list))
413 ;; otherwise examine the rest of the tasks 413 ;; otherwise examine the rest of the tasks
414 (t (push task new-list)))) 414 (t (push task new-list))))