diff options
| author | Bastien Guerry | 2012-01-04 16:20:49 +0100 |
|---|---|---|
| committer | Bastien Guerry | 2012-01-04 16:20:49 +0100 |
| commit | 14e1337f8462d1ca2e4af69de9fba58ddabd0274 (patch) | |
| tree | fce16fb4a1cab5a9cc03f540579c886ac1fad5d0 | |
| parent | 0b41d90bd3ef6f1fb03d23cfbe064fcf865c82c3 (diff) | |
| download | emacs-14e1337f8462d1ca2e4af69de9fba58ddabd0274.tar.gz emacs-14e1337f8462d1ca2e4af69de9fba58ddabd0274.zip | |
Fix trailing whitespaces in Org files.
| -rw-r--r-- | lisp/org/ob-awk.el | 4 | ||||
| -rw-r--r-- | lisp/org/ob-gnuplot.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-haskell.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-lilypond.el | 28 | ||||
| -rw-r--r-- | lisp/org/ob-lob.el | 4 | ||||
| -rw-r--r-- | lisp/org/ob-ocaml.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-picolisp.el | 8 | ||||
| -rw-r--r-- | lisp/org/ob-ref.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-ruby.el | 4 | ||||
| -rw-r--r-- | lisp/org/ob-sql.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-ascii.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-capture.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-clock.el | 5 | ||||
| -rw-r--r-- | lisp/org/org-crypt.el | 6 | ||||
| -rw-r--r-- | lisp/org/org-gnus.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-id.el | 6 | ||||
| -rw-r--r-- | lisp/org/org-irc.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-latex.el | 6 | ||||
| -rw-r--r-- | lisp/org/org-mks.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-mobile.el | 7 | ||||
| -rw-r--r-- | lisp/org/org-pcomplete.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-publish.el | 4 | ||||
| -rw-r--r-- | lisp/org/org-remember.el | 3 | ||||
| -rw-r--r-- | lisp/org/org-special-blocks.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-src.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-table.el | 7 | ||||
| -rw-r--r-- | lisp/org/org-taskjuggler.el | 8 |
27 files changed, 59 insertions, 67 deletions
diff --git a/lisp/org/ob-awk.el b/lisp/org/ob-awk.el index ded8ee4f693..682d802c11c 100644 --- a/lisp/org/ob-awk.el +++ b/lisp/org/ob-awk.el | |||
| @@ -24,9 +24,9 @@ | |||
| 24 | ;;; Commentary: | 24 | ;;; Commentary: |
| 25 | 25 | ||
| 26 | ;; Babel's awk can use special header argument: | 26 | ;; Babel's awk can use special header argument: |
| 27 | ;; | 27 | ;; |
| 28 | ;; - :in-file takes a path to a file of data to be processed by awk | 28 | ;; - :in-file takes a path to a file of data to be processed by awk |
| 29 | ;; | 29 | ;; |
| 30 | ;; - :stdin takes an Org-mode data or code block reference, the value | 30 | ;; - :stdin takes an Org-mode data or code block reference, the value |
| 31 | ;; of which will be passed to the awk process through STDIN | 31 | ;; of which will be passed to the awk process through STDIN |
| 32 | 32 | ||
diff --git a/lisp/org/ob-gnuplot.el b/lisp/org/ob-gnuplot.el index 0cdef4e1289..5d07366e774 100644 --- a/lisp/org/ob-gnuplot.el +++ b/lisp/org/ob-gnuplot.el | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | ;;; Requirements: | 34 | ;;; Requirements: |
| 35 | 35 | ||
| 36 | ;; - gnuplot :: http://www.gnuplot.info/ | 36 | ;; - gnuplot :: http://www.gnuplot.info/ |
| 37 | ;; | 37 | ;; |
| 38 | ;; - gnuplot-mode :: http://cars9.uchicago.edu/~ravel/software/gnuplot-mode.html | 38 | ;; - gnuplot-mode :: http://cars9.uchicago.edu/~ravel/software/gnuplot-mode.html |
| 39 | 39 | ||
| 40 | ;;; Code: | 40 | ;;; Code: |
diff --git a/lisp/org/ob-haskell.el b/lisp/org/ob-haskell.el index b04c3b082b7..53c55329752 100644 --- a/lisp/org/ob-haskell.el +++ b/lisp/org/ob-haskell.el | |||
| @@ -79,7 +79,7 @@ | |||
| 79 | (cdr (member org-babel-haskell-eoe | 79 | (cdr (member org-babel-haskell-eoe |
| 80 | (reverse (mapcar #'org-babel-trim raw))))))) | 80 | (reverse (mapcar #'org-babel-trim raw))))))) |
| 81 | (org-babel-reassemble-table | 81 | (org-babel-reassemble-table |
| 82 | (cond | 82 | (cond |
| 83 | ((equal result-type 'output) | 83 | ((equal result-type 'output) |
| 84 | (mapconcat #'identity (reverse (cdr results)) "\n")) | 84 | (mapconcat #'identity (reverse (cdr results)) "\n")) |
| 85 | ((equal result-type 'value) | 85 | ((equal result-type 'value) |
diff --git a/lisp/org/ob-lilypond.el b/lisp/org/ob-lilypond.el index 1f412fd9671..0dde0de9e42 100644 --- a/lisp/org/ob-lilypond.el +++ b/lisp/org/ob-lilypond.el | |||
| @@ -114,7 +114,7 @@ blocks") | |||
| 114 | body)))) | 114 | body)))) |
| 115 | vars) | 115 | vars) |
| 116 | body)) | 116 | body)) |
| 117 | 117 | ||
| 118 | (defun org-babel-execute:lilypond (body params) | 118 | (defun org-babel-execute:lilypond (body params) |
| 119 | "This function is called by `org-babel-execute-src-block'. | 119 | "This function is called by `org-babel-execute-src-block'. |
| 120 | Depending on whether we are in arrange mode either: | 120 | Depending on whether we are in arrange mode either: |
| @@ -138,7 +138,7 @@ specific arguments to =org-babel-tangle=" | |||
| 138 | 138 | ||
| 139 | (defun ly-process-basic (body params) | 139 | (defun ly-process-basic (body params) |
| 140 | "Execute a lilypond block in basic mode" | 140 | "Execute a lilypond block in basic mode" |
| 141 | 141 | ||
| 142 | (let* ((result-params (cdr (assoc :result-params params))) | 142 | (let* ((result-params (cdr (assoc :result-params params))) |
| 143 | (out-file (cdr (assoc :file params))) | 143 | (out-file (cdr (assoc :file params))) |
| 144 | (cmdline (or (cdr (assoc :cmdline params)) | 144 | (cmdline (or (cdr (assoc :cmdline params)) |
| @@ -147,7 +147,7 @@ specific arguments to =org-babel-tangle=" | |||
| 147 | 147 | ||
| 148 | (with-temp-file in-file | 148 | (with-temp-file in-file |
| 149 | (insert (org-babel-expand-body:generic body params))) | 149 | (insert (org-babel-expand-body:generic body params))) |
| 150 | 150 | ||
| 151 | (org-babel-eval | 151 | (org-babel-eval |
| 152 | (concat | 152 | (concat |
| 153 | (ly-determine-ly-path) | 153 | (ly-determine-ly-path) |
| @@ -177,7 +177,7 @@ If error in compilation, attempt to mark the error in lilypond org file" | |||
| 177 | (ly-temp-file (ly-switch-extension | 177 | (ly-temp-file (ly-switch-extension |
| 178 | (buffer-file-name) ".ly"))) | 178 | (buffer-file-name) ".ly"))) |
| 179 | (if (file-exists-p ly-tangled-file) | 179 | (if (file-exists-p ly-tangled-file) |
| 180 | (progn | 180 | (progn |
| 181 | (when (file-exists-p ly-temp-file) | 181 | (when (file-exists-p ly-temp-file) |
| 182 | (delete-file ly-temp-file)) | 182 | (delete-file ly-temp-file)) |
| 183 | (rename-file ly-tangled-file | 183 | (rename-file ly-tangled-file |
| @@ -243,7 +243,7 @@ FILE-NAME is full path to lilypond file" | |||
| 243 | "Mark the erroneous lines in the lilypond org buffer. | 243 | "Mark the erroneous lines in the lilypond org buffer. |
| 244 | FILE-NAME is full path to lilypond file. | 244 | FILE-NAME is full path to lilypond file. |
| 245 | LINE is the erroneous line" | 245 | LINE is the erroneous line" |
| 246 | 246 | ||
| 247 | (switch-to-buffer-other-window | 247 | (switch-to-buffer-other-window |
| 248 | (concat (file-name-nondirectory | 248 | (concat (file-name-nondirectory |
| 249 | (ly-switch-extension file-name ".org")))) | 249 | (ly-switch-extension file-name ".org")))) |
| @@ -256,7 +256,7 @@ LINE is the erroneous line" | |||
| 256 | (set-mark (point)) | 256 | (set-mark (point)) |
| 257 | (goto-char (- (point) (length line)))) | 257 | (goto-char (- (point) (length line)))) |
| 258 | (goto-char temp)))) | 258 | (goto-char temp)))) |
| 259 | 259 | ||
| 260 | (defun ly-parse-line-num (&optional buffer) | 260 | (defun ly-parse-line-num (&optional buffer) |
| 261 | "Extract error line number." | 261 | "Extract error line number." |
| 262 | 262 | ||
| @@ -284,7 +284,7 @@ LINE is the erroneous line" | |||
| 284 | "Extract the erroneous line from the tangled .ly file | 284 | "Extract the erroneous line from the tangled .ly file |
| 285 | FILE-NAME is full path to lilypond file. | 285 | FILE-NAME is full path to lilypond file. |
| 286 | LINENO is the number of the erroneous line" | 286 | LINENO is the number of the erroneous line" |
| 287 | 287 | ||
| 288 | (with-temp-buffer | 288 | (with-temp-buffer |
| 289 | (insert-file-contents (ly-switch-extension file-name ".ly") | 289 | (insert-file-contents (ly-switch-extension file-name ".ly") |
| 290 | nil nil nil t) | 290 | nil nil nil t) |
| @@ -294,12 +294,12 @@ LINENO is the number of the erroneous line" | |||
| 294 | (forward-line (- lineNo 1)) | 294 | (forward-line (- lineNo 1)) |
| 295 | (buffer-substring (point) (point-at-eol))) | 295 | (buffer-substring (point) (point-at-eol))) |
| 296 | nil))) | 296 | nil))) |
| 297 | 297 | ||
| 298 | (defun ly-attempt-to-open-pdf (file-name &optional test) | 298 | (defun ly-attempt-to-open-pdf (file-name &optional test) |
| 299 | "Attempt to display the generated pdf file | 299 | "Attempt to display the generated pdf file |
| 300 | FILE-NAME is full path to lilypond file | 300 | FILE-NAME is full path to lilypond file |
| 301 | If TEST is non-nil, the shell command is returned and is not run" | 301 | If TEST is non-nil, the shell command is returned and is not run" |
| 302 | 302 | ||
| 303 | (when ly-display-pdf-post-tangle | 303 | (when ly-display-pdf-post-tangle |
| 304 | (let ((pdf-file (ly-switch-extension file-name ".pdf"))) | 304 | (let ((pdf-file (ly-switch-extension file-name ".pdf"))) |
| 305 | (if (file-exists-p pdf-file) | 305 | (if (file-exists-p pdf-file) |
| @@ -340,7 +340,7 @@ If TEST is non-nil, it contains a simulation of the OS for test purposes" | |||
| 340 | (defun ly-determine-pdf-path (&optional test) | 340 | (defun ly-determine-pdf-path (&optional test) |
| 341 | "Return correct path to pdf viewer depending on OS | 341 | "Return correct path to pdf viewer depending on OS |
| 342 | If TEST is non-nil, it contains a simulation of the OS for test purposes" | 342 | If TEST is non-nil, it contains a simulation of the OS for test purposes" |
| 343 | 343 | ||
| 344 | (let ((sys-type | 344 | (let ((sys-type |
| 345 | (or test system-type))) | 345 | (or test system-type))) |
| 346 | (cond ((string= sys-type "darwin") | 346 | (cond ((string= sys-type "darwin") |
| @@ -352,7 +352,7 @@ If TEST is non-nil, it contains a simulation of the OS for test purposes" | |||
| 352 | (defun ly-determine-midi-path (&optional test) | 352 | (defun ly-determine-midi-path (&optional test) |
| 353 | "Return correct path to midi player depending on OS | 353 | "Return correct path to midi player depending on OS |
| 354 | If TEST is non-nil, it contains a simulation of the OS for test purposes" | 354 | If TEST is non-nil, it contains a simulation of the OS for test purposes" |
| 355 | 355 | ||
| 356 | (let ((sys-type | 356 | (let ((sys-type |
| 357 | (or test test system-type))) | 357 | (or test test system-type))) |
| 358 | (cond ((string= sys-type "darwin") | 358 | (cond ((string= sys-type "darwin") |
| @@ -360,10 +360,10 @@ If TEST is non-nil, it contains a simulation of the OS for test purposes" | |||
| 360 | ((string= sys-type "win32") | 360 | ((string= sys-type "win32") |
| 361 | ly-win32-midi-path) | 361 | ly-win32-midi-path) |
| 362 | (t ly-nix-midi-path)))) | 362 | (t ly-nix-midi-path)))) |
| 363 | 363 | ||
| 364 | (defun ly-toggle-midi-play () | 364 | (defun ly-toggle-midi-play () |
| 365 | "Toggle whether midi will be played following a successful compilation" | 365 | "Toggle whether midi will be played following a successful compilation" |
| 366 | 366 | ||
| 367 | (interactive) | 367 | (interactive) |
| 368 | (setq ly-play-midi-post-tangle | 368 | (setq ly-play-midi-post-tangle |
| 369 | (not ly-play-midi-post-tangle)) | 369 | (not ly-play-midi-post-tangle)) |
| @@ -373,7 +373,7 @@ If TEST is non-nil, it contains a simulation of the OS for test purposes" | |||
| 373 | 373 | ||
| 374 | (defun ly-toggle-pdf-display () | 374 | (defun ly-toggle-pdf-display () |
| 375 | "Toggle whether pdf will be displayed following a successful compilation" | 375 | "Toggle whether pdf will be displayed following a successful compilation" |
| 376 | 376 | ||
| 377 | (interactive) | 377 | (interactive) |
| 378 | (setq ly-display-pdf-post-tangle | 378 | (setq ly-display-pdf-post-tangle |
| 379 | (not ly-display-pdf-post-tangle)) | 379 | (not ly-display-pdf-post-tangle)) |
diff --git a/lisp/org/ob-lob.el b/lisp/org/ob-lob.el index 0cd719293c2..8976427ab7e 100644 --- a/lisp/org/ob-lob.el +++ b/lisp/org/ob-lob.el | |||
| @@ -104,7 +104,7 @@ if so then run the appropriate source block from the Library." | |||
| 104 | (beginning-of-line 1) | 104 | (beginning-of-line 1) |
| 105 | (when (looking-at org-babel-lob-one-liner-regexp) | 105 | (when (looking-at org-babel-lob-one-liner-regexp) |
| 106 | (append | 106 | (append |
| 107 | (mapcar #'org-babel-clean-text-properties | 107 | (mapcar #'org-babel-clean-text-properties |
| 108 | (list | 108 | (list |
| 109 | (format "%s%s(%s)%s" | 109 | (format "%s%s(%s)%s" |
| 110 | (nonempty 3 12) | 110 | (nonempty 3 12) |
| @@ -115,7 +115,7 @@ if so then run the appropriate source block from the Library." | |||
| 115 | (nonempty 9 18))) | 115 | (nonempty 9 18))) |
| 116 | (list (length (if (= (length (match-string 12)) 0) | 116 | (list (length (if (= (length (match-string 12)) 0) |
| 117 | (match-string 2) (match-string 11)))))))))) | 117 | (match-string 2) (match-string 11)))))))))) |
| 118 | 118 | ||
| 119 | (defun org-babel-lob-execute (info) | 119 | (defun org-babel-lob-execute (info) |
| 120 | "Execute the lob call specified by INFO." | 120 | "Execute the lob call specified by INFO." |
| 121 | (let ((params (org-babel-process-params | 121 | (let ((params (org-babel-process-params |
diff --git a/lisp/org/ob-ocaml.el b/lisp/org/ob-ocaml.el index 6b4c54d2b72..8d61ff37e6e 100644 --- a/lisp/org/ob-ocaml.el +++ b/lisp/org/ob-ocaml.el | |||
| @@ -98,7 +98,7 @@ | |||
| 98 | (lambda (pair) (format "let %s = %s;;" (car pair) | 98 | (lambda (pair) (format "let %s = %s;;" (car pair) |
| 99 | (org-babel-ocaml-elisp-to-ocaml (cdr pair)))) | 99 | (org-babel-ocaml-elisp-to-ocaml (cdr pair)))) |
| 100 | (mapcar #'cdr (org-babel-get-header params :var)))) | 100 | (mapcar #'cdr (org-babel-get-header params :var)))) |
| 101 | 101 | ||
| 102 | (defun org-babel-ocaml-elisp-to-ocaml (val) | 102 | (defun org-babel-ocaml-elisp-to-ocaml (val) |
| 103 | "Return a string of ocaml code which evaluates to VAL." | 103 | "Return a string of ocaml code which evaluates to VAL." |
| 104 | (if (listp val) | 104 | (if (listp val) |
diff --git a/lisp/org/ob-picolisp.el b/lisp/org/ob-picolisp.el index 1b39e923e6a..20789340201 100644 --- a/lisp/org/ob-picolisp.el +++ b/lisp/org/ob-picolisp.el | |||
| @@ -44,10 +44,10 @@ | |||
| 44 | 44 | ||
| 45 | ;; PicoLisp _is_ an object-oriented database with a Prolog-based query | 45 | ;; PicoLisp _is_ an object-oriented database with a Prolog-based query |
| 46 | ;; language implemented in PicoLisp (Pilog). Database objects are | 46 | ;; language implemented in PicoLisp (Pilog). Database objects are |
| 47 | ;; first-class members of the language. | 47 | ;; first-class members of the language. |
| 48 | 48 | ||
| 49 | ;; PicoLisp is an extremely productive framework for the development | 49 | ;; PicoLisp is an extremely productive framework for the development |
| 50 | ;; of interactive web-applications (on top of a database). | 50 | ;; of interactive web-applications (on top of a database). |
| 51 | 51 | ||
| 52 | ;;; Requirements: | 52 | ;;; Requirements: |
| 53 | 53 | ||
| @@ -95,7 +95,7 @@ | |||
| 95 | 95 | ||
| 96 | (defun org-babel-execute:picolisp (body params) | 96 | (defun org-babel-execute:picolisp (body params) |
| 97 | "Execute a block of Picolisp code with org-babel. This function is | 97 | "Execute a block of Picolisp code with org-babel. This function is |
| 98 | called by `org-babel-execute-src-block'" | 98 | called by `org-babel-execute-src-block'" |
| 99 | (message "executing Picolisp source code block") | 99 | (message "executing Picolisp source code block") |
| 100 | (let* ( | 100 | (let* ( |
| 101 | ;; name of the session or "none" | 101 | ;; name of the session or "none" |
| @@ -118,7 +118,7 @@ | |||
| 118 | ((member "value" result-params) | 118 | ((member "value" result-params) |
| 119 | (format "(out \"/dev/null\" %s)" full-body)) | 119 | (format "(out \"/dev/null\" %s)" full-body)) |
| 120 | (t full-body)))) | 120 | (t full-body)))) |
| 121 | 121 | ||
| 122 | ((lambda (result) | 122 | ((lambda (result) |
| 123 | (if (or (member "verbatim" result-params) | 123 | (if (or (member "verbatim" result-params) |
| 124 | (member "scalar" result-params) | 124 | (member "scalar" result-params) |
diff --git a/lisp/org/ob-ref.el b/lisp/org/ob-ref.el index bd9e3890090..cde594e11b0 100644 --- a/lisp/org/ob-ref.el +++ b/lisp/org/ob-ref.el | |||
| @@ -60,7 +60,7 @@ | |||
| 60 | (declare-function org-narrow-to-subtree "org" ()) | 60 | (declare-function org-narrow-to-subtree "org" ()) |
| 61 | (declare-function org-id-find-id-in-file "org-id" (id file &optional markerp)) | 61 | (declare-function org-id-find-id-in-file "org-id" (id file &optional markerp)) |
| 62 | (declare-function org-show-context "org" (&optional key)) | 62 | (declare-function org-show-context "org" (&optional key)) |
| 63 | (declare-function org-pop-to-buffer-same-window | 63 | (declare-function org-pop-to-buffer-same-window |
| 64 | "org-compat" (&optional buffer-or-name norecord label)) | 64 | "org-compat" (&optional buffer-or-name norecord label)) |
| 65 | 65 | ||
| 66 | (defvar org-babel-ref-split-regexp | 66 | (defvar org-babel-ref-split-regexp |
diff --git a/lisp/org/ob-ruby.el b/lisp/org/ob-ruby.el index 65cc2bde757..df8ae2cc4f1 100644 --- a/lisp/org/ob-ruby.el +++ b/lisp/org/ob-ruby.el | |||
| @@ -28,10 +28,10 @@ | |||
| 28 | ;;; Requirements: | 28 | ;;; Requirements: |
| 29 | 29 | ||
| 30 | ;; - ruby and irb executables :: http://www.ruby-lang.org/ | 30 | ;; - ruby and irb executables :: http://www.ruby-lang.org/ |
| 31 | ;; | 31 | ;; |
| 32 | ;; - ruby-mode :: Can be installed through ELPA, or from | 32 | ;; - ruby-mode :: Can be installed through ELPA, or from |
| 33 | ;; http://github.com/eschulte/rinari/raw/master/util/ruby-mode.el | 33 | ;; http://github.com/eschulte/rinari/raw/master/util/ruby-mode.el |
| 34 | ;; | 34 | ;; |
| 35 | ;; - inf-ruby mode :: Can be installed through ELPA, or from | 35 | ;; - inf-ruby mode :: Can be installed through ELPA, or from |
| 36 | ;; http://github.com/eschulte/rinari/raw/master/util/inf-ruby.el | 36 | ;; http://github.com/eschulte/rinari/raw/master/util/inf-ruby.el |
| 37 | 37 | ||
diff --git a/lisp/org/ob-sql.el b/lisp/org/ob-sql.el index 645842a12a4..3f7882c9919 100644 --- a/lisp/org/ob-sql.el +++ b/lisp/org/ob-sql.el | |||
| @@ -39,7 +39,7 @@ | |||
| 39 | ;; - add more useful header arguments (user, passwd, database, etc...) | 39 | ;; - add more useful header arguments (user, passwd, database, etc...) |
| 40 | ;; - support for more engines (currently only supports mysql) | 40 | ;; - support for more engines (currently only supports mysql) |
| 41 | ;; - what's a reasonable way to drop table data into SQL? | 41 | ;; - what's a reasonable way to drop table data into SQL? |
| 42 | ;; | 42 | ;; |
| 43 | 43 | ||
| 44 | ;;; Code: | 44 | ;;; Code: |
| 45 | (require 'ob) | 45 | (require 'ob) |
diff --git a/lisp/org/org-ascii.el b/lisp/org/org-ascii.el index c652671b7fe..90f39fd3d8d 100644 --- a/lisp/org/org-ascii.el +++ b/lisp/org/org-ascii.el | |||
| @@ -108,7 +108,7 @@ utf8 Use all UTF-8 characters") | |||
| 108 | (defun org-export-as-utf8 (&rest args) | 108 | (defun org-export-as-utf8 (&rest args) |
| 109 | "Like `org-export-as-ascii', use encoding for special symbols." | 109 | "Like `org-export-as-ascii', use encoding for special symbols." |
| 110 | (interactive) | 110 | (interactive) |
| 111 | (org-export-as-encoding 'org-export-as-ascii | 111 | (org-export-as-encoding 'org-export-as-ascii |
| 112 | (org-called-interactively-p 'any) | 112 | (org-called-interactively-p 'any) |
| 113 | 'utf8 args)) | 113 | 'utf8 args)) |
| 114 | 114 | ||
diff --git a/lisp/org/org-capture.el b/lisp/org/org-capture.el index c23934c1900..46202f8adea 100644 --- a/lisp/org/org-capture.el +++ b/lisp/org/org-capture.el | |||
| @@ -56,7 +56,7 @@ | |||
| 56 | (date &optional keep-restriction)) | 56 | (date &optional keep-restriction)) |
| 57 | (declare-function org-table-get-specials "org-table" ()) | 57 | (declare-function org-table-get-specials "org-table" ()) |
| 58 | (declare-function org-table-goto-line "org-table" (N)) | 58 | (declare-function org-table-goto-line "org-table" (N)) |
| 59 | (declare-function org-pop-to-buffer-same-window "org-compat" | 59 | (declare-function org-pop-to-buffer-same-window "org-compat" |
| 60 | (&optional buffer-or-name norecord label)) | 60 | (&optional buffer-or-name norecord label)) |
| 61 | 61 | ||
| 62 | (defvar org-remember-default-headline) | 62 | (defvar org-remember-default-headline) |
diff --git a/lisp/org/org-clock.el b/lisp/org/org-clock.el index ad6d76e038a..2784707e452 100644 --- a/lisp/org/org-clock.el +++ b/lisp/org/org-clock.el | |||
| @@ -2000,7 +2000,7 @@ the currently selected interval size." | |||
| 2000 | (encode-time 0 0 0 (+ d n) m y)))) | 2000 | (encode-time 0 0 0 (+ d n) m y)))) |
| 2001 | ((and wp (string-match "w\\|W" wp) mw (> (length wp) 0)) | 2001 | ((and wp (string-match "w\\|W" wp) mw (> (length wp) 0)) |
| 2002 | (require 'cal-iso) | 2002 | (require 'cal-iso) |
| 2003 | (setq date (calendar-gregorian-from-absolute | 2003 | (setq date (calendar-gregorian-from-absolute |
| 2004 | (calendar-absolute-from-iso (list (+ mw n) 1 y)))) | 2004 | (calendar-absolute-from-iso (list (+ mw n) 1 y)))) |
| 2005 | (setq ins (format-time-string | 2005 | (setq ins (format-time-string |
| 2006 | "%G-W%V" | 2006 | "%G-W%V" |
| @@ -2017,7 +2017,7 @@ the currently selected interval size." | |||
| 2017 | (setq mw 5 | 2017 | (setq mw 5 |
| 2018 | y (- y 1)) | 2018 | y (- y 1)) |
| 2019 | ()) | 2019 | ()) |
| 2020 | (setq date (calendar-gregorian-from-absolute | 2020 | (setq date (calendar-gregorian-from-absolute |
| 2021 | (calendar-absolute-from-iso (org-quarter-to-date (+ mw n) y)))) | 2021 | (calendar-absolute-from-iso (org-quarter-to-date (+ mw n) y)))) |
| 2022 | (setq ins (format-time-string | 2022 | (setq ins (format-time-string |
| 2023 | (concatenate 'string (number-to-string y) "-Q" (number-to-string (+ mw n))) | 2023 | (concatenate 'string (number-to-string y) "-Q" (number-to-string (+ mw n))) |
| @@ -2642,4 +2642,3 @@ The details of what will be saved are regulated by the variable | |||
| 2642 | (provide 'org-clock) | 2642 | (provide 'org-clock) |
| 2643 | 2643 | ||
| 2644 | ;;; org-clock.el ends here | 2644 | ;;; org-clock.el ends here |
| 2645 | |||
diff --git a/lisp/org/org-crypt.el b/lisp/org/org-crypt.el index f3e63b0fb94..a128b046038 100644 --- a/lisp/org/org-crypt.el +++ b/lisp/org/org-crypt.el | |||
| @@ -76,21 +76,21 @@ | |||
| 76 | 76 | ||
| 77 | (defgroup org-crypt nil | 77 | (defgroup org-crypt nil |
| 78 | "Org Crypt" | 78 | "Org Crypt" |
| 79 | :tag "Org Crypt" | 79 | :tag "Org Crypt" |
| 80 | :group 'org) | 80 | :group 'org) |
| 81 | 81 | ||
| 82 | (defcustom org-crypt-tag-matcher "crypt" | 82 | (defcustom org-crypt-tag-matcher "crypt" |
| 83 | "The tag matcher used to find headings whose contents should be encrypted. | 83 | "The tag matcher used to find headings whose contents should be encrypted. |
| 84 | 84 | ||
| 85 | See the \"Match syntax\" section of the org manual for more details." | 85 | See the \"Match syntax\" section of the org manual for more details." |
| 86 | :type 'string | 86 | :type 'string |
| 87 | :group 'org-crypt) | 87 | :group 'org-crypt) |
| 88 | 88 | ||
| 89 | (defcustom org-crypt-key "" | 89 | (defcustom org-crypt-key "" |
| 90 | "The default key to use when encrypting the contents of a heading. | 90 | "The default key to use when encrypting the contents of a heading. |
| 91 | 91 | ||
| 92 | This setting can also be overridden in the CRYPTKEY property." | 92 | This setting can also be overridden in the CRYPTKEY property." |
| 93 | :type 'string | 93 | :type 'string |
| 94 | :group 'org-crypt) | 94 | :group 'org-crypt) |
| 95 | 95 | ||
| 96 | (defcustom org-crypt-disable-auto-save 'ask | 96 | (defcustom org-crypt-disable-auto-save 'ask |
diff --git a/lisp/org/org-gnus.el b/lisp/org/org-gnus.el index 2a3f9461fd1..f0c64a0d765 100644 --- a/lisp/org/org-gnus.el +++ b/lisp/org/org-gnus.el | |||
| @@ -175,7 +175,7 @@ If `org-store-link' was called with a prefix arg the meaning of | |||
| 175 | (setq to (or to (gnus-fetch-original-field "To")) | 175 | (setq to (or to (gnus-fetch-original-field "To")) |
| 176 | newsgroups (gnus-fetch-original-field "Newsgroups") | 176 | newsgroups (gnus-fetch-original-field "Newsgroups") |
| 177 | x-no-archive (gnus-fetch-original-field "x-no-archive"))) | 177 | x-no-archive (gnus-fetch-original-field "x-no-archive"))) |
| 178 | (org-store-link-props :type "gnus" :from from :subject subject | 178 | (org-store-link-props :type "gnus" :from from :subject subject |
| 179 | :message-id message-id :group group :to to) | 179 | :message-id message-id :group group :to to) |
| 180 | (when date | 180 | (when date |
| 181 | (org-add-link-props :date date :date-timestamp date-ts | 181 | (org-add-link-props :date date :date-timestamp date-ts |
diff --git a/lisp/org/org-id.el b/lisp/org/org-id.el index 0b829d60ba6..55e826f3ae6 100644 --- a/lisp/org/org-id.el +++ b/lisp/org/org-id.el | |||
| @@ -73,7 +73,7 @@ | |||
| 73 | (require 'org) | 73 | (require 'org) |
| 74 | 74 | ||
| 75 | (declare-function message-make-fqdn "message" ()) | 75 | (declare-function message-make-fqdn "message" ()) |
| 76 | (declare-function org-pop-to-buffer-same-window | 76 | (declare-function org-pop-to-buffer-same-window |
| 77 | "org-compat" (&optional buffer-or-name norecord label)) | 77 | "org-compat" (&optional buffer-or-name norecord label)) |
| 78 | 78 | ||
| 79 | ;;; Customization | 79 | ;;; Customization |
| @@ -641,7 +641,3 @@ optional argument MARKERP, return the position as a new marker." | |||
| 641 | (provide 'org-id) | 641 | (provide 'org-id) |
| 642 | 642 | ||
| 643 | ;;; org-id.el ends here | 643 | ;;; org-id.el ends here |
| 644 | |||
| 645 | |||
| 646 | |||
| 647 | |||
diff --git a/lisp/org/org-irc.el b/lisp/org/org-irc.el index 0dd05124f3c..107428366dc 100644 --- a/lisp/org/org-irc.el +++ b/lisp/org/org-irc.el | |||
| @@ -59,7 +59,7 @@ | |||
| 59 | (declare-function erc-server-buffer "erc" ()) | 59 | (declare-function erc-server-buffer "erc" ()) |
| 60 | (declare-function erc-get-server-nickname-list "erc" ()) | 60 | (declare-function erc-get-server-nickname-list "erc" ()) |
| 61 | (declare-function erc-cmd-JOIN "erc" (channel &optional key)) | 61 | (declare-function erc-cmd-JOIN "erc" (channel &optional key)) |
| 62 | (declare-function org-pop-to-buffer-same-window | 62 | (declare-function org-pop-to-buffer-same-window |
| 63 | "org-compat" (&optional buffer-or-name norecord label)) | 63 | "org-compat" (&optional buffer-or-name norecord label)) |
| 64 | 64 | ||
| 65 | (defvar org-irc-client 'erc | 65 | (defvar org-irc-client 'erc |
diff --git a/lisp/org/org-latex.el b/lisp/org/org-latex.el index 59dd60f0322..ba7f8fd6259 100644 --- a/lisp/org/org-latex.el +++ b/lisp/org/org-latex.el | |||
| @@ -302,8 +302,8 @@ markup defined, the first one in the association list will be used." | |||
| 302 | 302 | ||
| 303 | (defcustom org-export-latex-href-format "\\href{%s}{%s}" | 303 | (defcustom org-export-latex-href-format "\\href{%s}{%s}" |
| 304 | "A printf format string to be applied to href links. | 304 | "A printf format string to be applied to href links. |
| 305 | The format must contain either two %s instances or just one. | 305 | The format must contain either two %s instances or just one. |
| 306 | If it contains two %s instances, the first will be filled with | 306 | If it contains two %s instances, the first will be filled with |
| 307 | the link, the second with the link description. If it contains | 307 | the link, the second with the link description. If it contains |
| 308 | only one, the %s will be filled with the link." | 308 | only one, the %s will be filled with the link." |
| 309 | :group 'org-export-latex | 309 | :group 'org-export-latex |
| @@ -2226,7 +2226,7 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER." | |||
| 2226 | ;; a LaTeX issue, but we here implement a work-around anyway. | 2226 | ;; a LaTeX issue, but we here implement a work-around anyway. |
| 2227 | (setq path (org-export-latex-protect-amp path) | 2227 | (setq path (org-export-latex-protect-amp path) |
| 2228 | desc (org-export-latex-protect-amp desc))) | 2228 | desc (org-export-latex-protect-amp desc))) |
| 2229 | (insert | 2229 | (insert |
| 2230 | (if (string-match "%s.*%s" org-export-latex-href-format) | 2230 | (if (string-match "%s.*%s" org-export-latex-href-format) |
| 2231 | (format org-export-latex-href-format path desc) | 2231 | (format org-export-latex-href-format path desc) |
| 2232 | (format org-export-latex-href-format path)))) | 2232 | (format org-export-latex-href-format path)))) |
diff --git a/lisp/org/org-mks.el b/lisp/org/org-mks.el index 71405deeb04..95223ef848e 100644 --- a/lisp/org/org-mks.el +++ b/lisp/org/org-mks.el | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | 25 | ||
| 26 | ;;; Commentary: | 26 | ;;; Commentary: |
| 27 | ;; | 27 | ;; |
| 28 | 28 | ||
| 29 | ;;; Code: | 29 | ;;; Code: |
| 30 | 30 | ||
diff --git a/lisp/org/org-mobile.el b/lisp/org/org-mobile.el index cc935a3c5ad..b049f4ec5e0 100644 --- a/lisp/org/org-mobile.el +++ b/lisp/org/org-mobile.el | |||
| @@ -37,7 +37,7 @@ | |||
| 37 | 37 | ||
| 38 | (eval-when-compile (require 'cl)) | 38 | (eval-when-compile (require 'cl)) |
| 39 | 39 | ||
| 40 | (declare-function org-pop-to-buffer-same-window | 40 | (declare-function org-pop-to-buffer-same-window |
| 41 | "org-compat" (&optional buffer-or-name norecord label)) | 41 | "org-compat" (&optional buffer-or-name norecord label)) |
| 42 | 42 | ||
| 43 | (defgroup org-mobile nil | 43 | (defgroup org-mobile nil |
| @@ -272,7 +272,7 @@ Also exclude files matching `org-mobile-files-exclude-regexp'." | |||
| 272 | (t nil))) | 272 | (t nil))) |
| 273 | org-mobile-files))) | 273 | org-mobile-files))) |
| 274 | (files (delete | 274 | (files (delete |
| 275 | nil | 275 | nil |
| 276 | (mapcar (lambda (f) | 276 | (mapcar (lambda (f) |
| 277 | (unless (and (not (string= org-mobile-files-exclude-regexp "")) | 277 | (unless (and (not (string= org-mobile-files-exclude-regexp "")) |
| 278 | (string-match org-mobile-files-exclude-regexp f)) | 278 | (string-match org-mobile-files-exclude-regexp f)) |
| @@ -499,7 +499,7 @@ agenda view showing the flagged items." | |||
| 499 | org-mobile-directory)) | 499 | org-mobile-directory)) |
| 500 | (save-excursion | 500 | (save-excursion |
| 501 | (setq buf (find-file file)) | 501 | (setq buf (find-file file)) |
| 502 | (when (and (= (point-min) (point-max))) | 502 | (when (and (= (point-min) (point-max))) |
| 503 | (insert "\n") | 503 | (insert "\n") |
| 504 | (save-buffer) | 504 | (save-buffer) |
| 505 | (when org-mobile-use-encryption | 505 | (when org-mobile-use-encryption |
| @@ -1099,4 +1099,3 @@ A and B must be strings or nil." | |||
| 1099 | (provide 'org-mobile) | 1099 | (provide 'org-mobile) |
| 1100 | 1100 | ||
| 1101 | ;;; org-mobile.el ends here | 1101 | ;;; org-mobile.el ends here |
| 1102 | |||
diff --git a/lisp/org/org-pcomplete.el b/lisp/org/org-pcomplete.el index 7538dac1ec6..0ca8777878c 100644 --- a/lisp/org/org-pcomplete.el +++ b/lisp/org/org-pcomplete.el | |||
| @@ -146,7 +146,7 @@ When completing for #+STARTUP, for example, this function returns | |||
| 146 | (org-split-string (org-get-current-options) "\n")) | 146 | (org-split-string (org-get-current-options) "\n")) |
| 147 | org-additional-option-like-keywords))))) | 147 | org-additional-option-like-keywords))))) |
| 148 | (substring pcomplete-stub 2))) | 148 | (substring pcomplete-stub 2))) |
| 149 | 149 | ||
| 150 | (defvar org-startup-options) | 150 | (defvar org-startup-options) |
| 151 | (defun pcomplete/org-mode/file-option/startup () | 151 | (defun pcomplete/org-mode/file-option/startup () |
| 152 | "Complete arguments for the #+STARTUP file option." | 152 | "Complete arguments for the #+STARTUP file option." |
diff --git a/lisp/org/org-publish.el b/lisp/org/org-publish.el index 5753eb08141..dc794dd92c5 100644 --- a/lisp/org/org-publish.el +++ b/lisp/org/org-publish.el | |||
| @@ -368,7 +368,7 @@ This is a compatibility function for Emacsen without `delete-dups'." | |||
| 368 | 368 | ||
| 369 | (declare-function org-publish-delete-dups "org-publish" (list)) | 369 | (declare-function org-publish-delete-dups "org-publish" (list)) |
| 370 | (declare-function find-lisp-find-files "find-lisp" (directory regexp)) | 370 | (declare-function find-lisp-find-files "find-lisp" (directory regexp)) |
| 371 | (declare-function org-pop-to-buffer-same-window | 371 | (declare-function org-pop-to-buffer-same-window |
| 372 | "org-compat" (&optional buffer-or-name norecord label)) | 372 | "org-compat" (&optional buffer-or-name norecord label)) |
| 373 | 373 | ||
| 374 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 374 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| @@ -1127,7 +1127,7 @@ so that the file including them will be republished as well." | |||
| 1127 | (let ((ctime (org-publish-cache-ctime-of-src filename))) | 1127 | (let ((ctime (org-publish-cache-ctime-of-src filename))) |
| 1128 | (or (< pstamp ctime) | 1128 | (or (< pstamp ctime) |
| 1129 | (when included-files-ctime | 1129 | (when included-files-ctime |
| 1130 | (not (null (delq nil (mapcar (lambda(ct) (< ctime ct)) | 1130 | (not (null (delq nil (mapcar (lambda(ct) (< ctime ct)) |
| 1131 | included-files-ctime)))))))))) | 1131 | included-files-ctime)))))))))) |
| 1132 | 1132 | ||
| 1133 | (defun org-publish-cache-set-file-property (filename property value &optional project-name) | 1133 | (defun org-publish-cache-set-file-property (filename property value &optional project-name) |
diff --git a/lisp/org/org-remember.el b/lisp/org/org-remember.el index 854562f752e..65e92bab016 100644 --- a/lisp/org/org-remember.el +++ b/lisp/org/org-remember.el | |||
| @@ -39,7 +39,7 @@ | |||
| 39 | (declare-function remember "remember" (&optional initial)) | 39 | (declare-function remember "remember" (&optional initial)) |
| 40 | (declare-function remember-buffer-desc "remember" ()) | 40 | (declare-function remember-buffer-desc "remember" ()) |
| 41 | (declare-function remember-finalize "remember" ()) | 41 | (declare-function remember-finalize "remember" ()) |
| 42 | (declare-function org-pop-to-buffer-same-window | 42 | (declare-function org-pop-to-buffer-same-window |
| 43 | "org-compat" (&optional buffer-or-name norecord label)) | 43 | "org-compat" (&optional buffer-or-name norecord label)) |
| 44 | 44 | ||
| 45 | (defvar remember-save-after-remembering) | 45 | (defvar remember-save-after-remembering) |
| @@ -1152,4 +1152,3 @@ See also the variable `org-reverse-note-order'." | |||
| 1152 | (provide 'org-remember) | 1152 | (provide 'org-remember) |
| 1153 | 1153 | ||
| 1154 | ;;; org-remember.el ends here | 1154 | ;;; org-remember.el ends here |
| 1155 | |||
diff --git a/lisp/org/org-special-blocks.el b/lisp/org/org-special-blocks.el index fca5dd6b3da..fc882a33396 100644 --- a/lisp/org/org-special-blocks.el +++ b/lisp/org/org-special-blocks.el | |||
| @@ -51,7 +51,7 @@ interpreted by other mechanisms.") | |||
| 51 | (defun org-special-blocks-make-special-cookies () | 51 | (defun org-special-blocks-make-special-cookies () |
| 52 | "Adds special cookies when #+begin_foo and #+end_foo tokens are | 52 | "Adds special cookies when #+begin_foo and #+end_foo tokens are |
| 53 | seen. This is run after a few special cases are taken care of." | 53 | seen. This is run after a few special cases are taken care of." |
| 54 | (when (or (eq org-export-current-backend 'html) | 54 | (when (or (eq org-export-current-backend 'html) |
| 55 | (eq org-export-current-backend 'latex)) | 55 | (eq org-export-current-backend 'latex)) |
| 56 | (goto-char (point-min)) | 56 | (goto-char (point-min)) |
| 57 | (while (re-search-forward "^[ \t]*#\\+\\(begin\\|end\\)_\\(.*\\)$" nil t) | 57 | (while (re-search-forward "^[ \t]*#\\+\\(begin\\|end\\)_\\(.*\\)$" nil t) |
diff --git a/lisp/org/org-src.el b/lisp/org/org-src.el index 71554808b09..ac574ed4dd2 100644 --- a/lisp/org/org-src.el +++ b/lisp/org/org-src.el | |||
| @@ -41,7 +41,7 @@ | |||
| 41 | (declare-function org-at-table.el-p "org" ()) | 41 | (declare-function org-at-table.el-p "org" ()) |
| 42 | (declare-function org-get-indentation "org" (&optional line)) | 42 | (declare-function org-get-indentation "org" (&optional line)) |
| 43 | (declare-function org-switch-to-buffer-other-window "org" (&rest args)) | 43 | (declare-function org-switch-to-buffer-other-window "org" (&rest args)) |
| 44 | (declare-function org-pop-to-buffer-same-window | 44 | (declare-function org-pop-to-buffer-same-window |
| 45 | "org-compat" (&optional buffer-or-name norecord label)) | 45 | "org-compat" (&optional buffer-or-name norecord label)) |
| 46 | 46 | ||
| 47 | (defcustom org-edit-src-region-extra nil | 47 | (defcustom org-edit-src-region-extra nil |
diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el index 33309f61e70..df93a9a7271 100644 --- a/lisp/org/org-table.el +++ b/lisp/org/org-table.el | |||
| @@ -2436,7 +2436,7 @@ not overwrite the stored one." | |||
| 2436 | (modes (copy-sequence org-calc-default-modes)) | 2436 | (modes (copy-sequence org-calc-default-modes)) |
| 2437 | (numbers nil) ; was a variable, now fixed default | 2437 | (numbers nil) ; was a variable, now fixed default |
| 2438 | (keep-empty nil) | 2438 | (keep-empty nil) |
| 2439 | n form form0 formrpl formrg bw fmt x ev orig c lispp literal | 2439 | n form form0 formrpl formrg bw fmt x ev orig c lispp literal |
| 2440 | duration duration-output-format) | 2440 | duration duration-output-format) |
| 2441 | ;; Parse the format string. Since we have a lot of modes, this is | 2441 | ;; Parse the format string. Since we have a lot of modes, this is |
| 2442 | ;; a lot of work. However, I think calc still uses most of the time. | 2442 | ;; a lot of work. However, I think calc still uses most of the time. |
| @@ -2461,7 +2461,7 @@ not overwrite the stored one." | |||
| 2461 | duration-output-format nil | 2461 | duration-output-format nil |
| 2462 | fmt (replace-match "" t t fmt))) | 2462 | fmt (replace-match "" t t fmt))) |
| 2463 | (if (string-match "t" fmt) | 2463 | (if (string-match "t" fmt) |
| 2464 | (setq duration t | 2464 | (setq duration t |
| 2465 | duration-output-format org-table-duration-custom-format | 2465 | duration-output-format org-table-duration-custom-format |
| 2466 | numbers t | 2466 | numbers t |
| 2467 | fmt (replace-match "" t t fmt))) | 2467 | fmt (replace-match "" t t fmt))) |
| @@ -2529,7 +2529,7 @@ not overwrite the stored one." | |||
| 2529 | ;; Insert complex ranges | 2529 | ;; Insert complex ranges |
| 2530 | (while (and (string-match org-table-range-regexp form) | 2530 | (while (and (string-match org-table-range-regexp form) |
| 2531 | (> (length (match-string 0 form)) 1)) | 2531 | (> (length (match-string 0 form)) 1)) |
| 2532 | (setq formrg (save-match-data | 2532 | (setq formrg (save-match-data |
| 2533 | (org-table-get-range (match-string 0 form) nil n0))) | 2533 | (org-table-get-range (match-string 0 form) nil n0))) |
| 2534 | (setq formrpl | 2534 | (setq formrpl |
| 2535 | (save-match-data | 2535 | (save-match-data |
| @@ -4759,4 +4759,3 @@ list of the fields in the rectangle ." | |||
| 4759 | (provide 'org-table) | 4759 | (provide 'org-table) |
| 4760 | 4760 | ||
| 4761 | ;;; org-table.el ends here | 4761 | ;;; org-table.el ends here |
| 4762 | |||
diff --git a/lisp/org/org-taskjuggler.el b/lisp/org/org-taskjuggler.el index 4cb7e32f386..68f64974ff3 100644 --- a/lisp/org/org-taskjuggler.el +++ b/lisp/org/org-taskjuggler.el | |||
| @@ -355,8 +355,8 @@ information, all the properties, etc." | |||
| 355 | (let* ((props (org-entry-properties)) | 355 | (let* ((props (org-entry-properties)) |
| 356 | (components (org-heading-components)) | 356 | (components (org-heading-components)) |
| 357 | (level (nth 1 components)) | 357 | (level (nth 1 components)) |
| 358 | (headline | 358 | (headline |
| 359 | (replace-regexp-in-string | 359 | (replace-regexp-in-string |
| 360 | "\"" "\\\"" (nth 4 components) t t)) ; quote double quotes in headlines | 360 | "\"" "\\\"" (nth 4 components) t t)) ; quote double quotes in headlines |
| 361 | (parent-ordered (org-taskjuggler-parent-is-ordered-p))) | 361 | (parent-ordered (org-taskjuggler-parent-is-ordered-p))) |
| 362 | (push (cons "level" level) props) | 362 | (push (cons "level" level) props) |
| @@ -406,10 +406,10 @@ deeper), then it's not a leaf." | |||
| 406 | (successor (car (cdr tasks)))) | 406 | (successor (car (cdr tasks)))) |
| 407 | (cond | 407 | (cond |
| 408 | ;; if a task has no successors it is a leaf | 408 | ;; if a task has no successors it is a leaf |
| 409 | ((null successor) | 409 | ((null successor) |
| 410 | (push (cons (cons "leaf-node" t) task) new-list)) | 410 | (push (cons (cons "leaf-node" t) task) new-list)) |
| 411 | ;; if the successor has a lower level than task it is a leaf | 411 | ;; if the successor has a lower level than task it is a leaf |
| 412 | ((<= (cdr (assoc "level" successor)) (cdr (assoc "level" task))) | 412 | ((<= (cdr (assoc "level" successor)) (cdr (assoc "level" task))) |
| 413 | (push (cons (cons "leaf-node" t) task) new-list)) | 413 | (push (cons (cons "leaf-node" t) task) new-list)) |
| 414 | ;; otherwise examine the rest of the tasks | 414 | ;; otherwise examine the rest of the tasks |
| 415 | (t (push task new-list)))) | 415 | (t (push task new-list)))) |