1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-22 07:09:47 +00:00

Newer Emacsen changed the API of start-process-shell-command and issue

a warning if called with more than 3 args.
This commit is contained in:
Christian Egli 2010-06-17 13:58:49 +00:00 committed by John Wiegley
parent 18810580f5
commit d75f20ffc2
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2010-06-17 Christian Egli <christian.egli@sbszh.ch>
* org-taskjuggler.el (org-export-as-taskjuggler-and-open): Fix
the invocation of start-process-shell-command to avoid
warnings in newer Emacsen
2010-06-08 Christian Egli <christian.egli@sbszh.ch>
* org-taskjuggler.el (org-export-taskjuggler-old-level):

View File

@ -326,9 +326,10 @@ defined in `org-export-taskjuggler-default-reports'."
"Export the current buffer as a TaskJuggler file and open it
with the TaskJuggler GUI."
(interactive)
(let ((file-name (buffer-file-name (org-export-as-taskjuggler)))
(command "TaskJugglerUI"))
(start-process-shell-command command nil command file-name)))
(let* ((file-name (buffer-file-name (org-export-as-taskjuggler)))
(process-name "TaskJugglerUI")
(command (concat process-name " " file-name)))
(start-process-shell-command process-name nil command)))
(defun org-taskjuggler-parent-is-ordered-p ()
"Return true if the parent of the current node has a property