diff options
author | Sébastien Delafond <sdelafond@gmail.com> | 2016-02-10 18:54:48 +0100 |
---|---|---|
committer | Sébastien Delafond <sdelafond@gmail.com> | 2016-02-10 18:54:48 +0100 |
commit | 5b4347604ce1b4d25a87f6a83f75a4038a180d86 (patch) | |
tree | 87438ba3d21a30105d7d98427d322deccc9eccd3 /lisp/ob-core.el | |
parent | f083b1cce35adcd4dff9db99b033056401a203ba (diff) | |
parent | 8d8ea67656b95d8528b6cd9b43b2d53b847412b0 (diff) |
Merge tag 'upstream/8.3.3'
Upstream version 8.3.3
Diffstat (limited to 'lisp/ob-core.el')
-rw-r--r-- | lisp/ob-core.el | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 9545871..617ef69 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -37,7 +37,7 @@ (defvar org-babel-call-process-region-original nil) (defvar org-src-lang-modes) (defvar org-babel-library-of-babel) -(declare-function show-all "outline" ()) +(declare-function outline-show-all "outline" ()) (declare-function org-every "org" (pred seq)) (declare-function org-remove-indentation "org" (code &optional n)) (declare-function org-reduce "org" (CL-FUNC CL-SEQ &rest CL-KEYS)) @@ -1492,7 +1492,7 @@ specified in the properties of the current outline entry." ALTS is a cons of two character options where each option may be either the numeric code of a single character or a list of character alternatives. For example to split on balanced -instances of \"[ \t]:\" set ALTS to '((32 9) . 58)." +instances of \"[ \t]:\" set ALTS to ((32 9) . 58)." (let* ((matches (lambda (ch spec) (if (listp spec) (member ch spec) (equal spec ch)))) (matched (lambda (ch last) (if (consp alts) @@ -1597,11 +1597,14 @@ shown below. (cons :result-type (cond ((member "output" result-params) 'output) ((member "value" result-params) 'value) (t 'value)))) - (org-babel-get-header params :var 'other)))) + (org-remove-if + (lambda (x) (memq (car x) '(:colname-names :rowname-names :result-params + :result-type :var))) + params)))) ;; row and column names (defun org-babel-del-hlines (table) - "Remove all `hlines' from TABLE." + "Remove all `hline's from TABLE." (remq 'hline table)) (defun org-babel-get-colnames (table) @@ -2551,7 +2554,8 @@ parameters when merging lists." (setq params (cons pair (assq-delete-all (car pair) params))))) (:exports (setq exports (funcall e-merge exports-exclusive-groups - exports (split-string (cdr pair))))) + exports + (split-string (or (cdr pair) ""))))) (:tangle ;; take the latest -- always overwrite (setq tangle (or (list (cdr pair)) tangle))) (:noweb |