diff options
| author | Michael Heerdegen | 2018-11-26 13:39:26 +0100 |
|---|---|---|
| committer | Michael Heerdegen | 2018-11-26 21:43:23 +0100 |
| commit | d28118940ccdd8772b948880011dd4158ed20463 (patch) | |
| tree | 5a9eba9723808489b63930368058de97708b0bfc /lisp/org/ob-python.el | |
| parent | 038b425cf0fe6efea615e01c4828304721b99c75 (diff) | |
| download | emacs-d28118940ccdd8772b948880011dd4158ed20463.tar.gz emacs-d28118940ccdd8772b948880011dd4158ed20463.zip | |
Revert "Replace insignificant backquotes" for Org files
Revert everything of commit 1808d254a5 "Replace insignificant
backquotes" that touches Org source files since these should not have
been changed.
* lisp/org/ob-C.el:
* lisp/org/ob-core.el:
* lisp/org/ob-exp.el:
* lisp/org/ob-groovy.el:
* lisp/org/ob-haskell.el:
* lisp/org/ob-io.el:
* lisp/org/ob-lisp.el:
* lisp/org/ob-lob.el:
* lisp/org/ob-lua.el:
* lisp/org/ob-octave.el:
* lisp/org/ob-perl.el:
* lisp/org/ob-python.el:
* lisp/org/ob-ref.el:
* lisp/org/ob-ruby.el:
* lisp/org/ob-sql.el:
* lisp/org/org-agenda.el:
* lisp/org/org-capture.el:
* lisp/org/org-clock.el:
* lisp/org/org-colview.el:
* lisp/org/org-duration.el:
* lisp/org/org-element.el:
* lisp/org/org-entities.el:
* lisp/org/org-gnus.el:
* lisp/org/org-indent.el:
* lisp/org/org-info.el:
* lisp/org/org-inlinetask.el:
* lisp/org/org-lint.el:
* lisp/org/org-list.el:
* lisp/org/org-mouse.el:
* lisp/org/org-plot.el:
* lisp/org/org-src.el:
* lisp/org/org-table.el:
* lisp/org/org.el:
* lisp/org/ox-ascii.el:
* lisp/org/ox-html.el:
* lisp/org/ox-latex.el:
* lisp/org/ox-man.el:
* lisp/org/ox-md.el:
* lisp/org/ox-org.el:
* lisp/org/ox-publish.el:
* lisp/org/ox-texinfo.el:
* lisp/org/ox.el: Undo changes made by commit "Replace insignificant
backquotes".
Diffstat (limited to 'lisp/org/ob-python.el')
| -rw-r--r-- | lisp/org/ob-python.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/org/ob-python.el b/lisp/org/ob-python.el index 3f1bbf1cb3d..9f1234bac52 100644 --- a/lisp/org/ob-python.el +++ b/lisp/org/ob-python.el | |||
| @@ -265,10 +265,10 @@ string. If RESULT-TYPE equals `value' then return the value of the | |||
| 265 | last statement in BODY, as elisp." | 265 | last statement in BODY, as elisp." |
| 266 | (let ((raw | 266 | (let ((raw |
| 267 | (pcase result-type | 267 | (pcase result-type |
| 268 | ('output (org-babel-eval org-babel-python-command | 268 | (`output (org-babel-eval org-babel-python-command |
| 269 | (concat (if preamble (concat preamble "\n")) | 269 | (concat (if preamble (concat preamble "\n")) |
| 270 | body))) | 270 | body))) |
| 271 | ('value (let ((tmp-file (org-babel-temp-file "python-"))) | 271 | (`value (let ((tmp-file (org-babel-temp-file "python-"))) |
| 272 | (org-babel-eval | 272 | (org-babel-eval |
| 273 | org-babel-python-command | 273 | org-babel-python-command |
| 274 | (concat | 274 | (concat |
| @@ -314,7 +314,7 @@ last statement in BODY, as elisp." | |||
| 314 | (funcall send-wait))) | 314 | (funcall send-wait))) |
| 315 | (results | 315 | (results |
| 316 | (pcase result-type | 316 | (pcase result-type |
| 317 | ('output | 317 | (`output |
| 318 | (let ((body (if (string-match-p ".\n+." body) ; Multiline | 318 | (let ((body (if (string-match-p ".\n+." body) ; Multiline |
| 319 | (let ((tmp-src-file (org-babel-temp-file | 319 | (let ((tmp-src-file (org-babel-temp-file |
| 320 | "python-"))) | 320 | "python-"))) |
| @@ -332,7 +332,7 @@ last statement in BODY, as elisp." | |||
| 332 | (insert org-babel-python-eoe-indicator) | 332 | (insert org-babel-python-eoe-indicator) |
| 333 | (funcall send-wait)) | 333 | (funcall send-wait)) |
| 334 | 2) "\n"))) | 334 | 2) "\n"))) |
| 335 | ('value | 335 | (`value |
| 336 | (let ((tmp-file (org-babel-temp-file "python-"))) | 336 | (let ((tmp-file (org-babel-temp-file "python-"))) |
| 337 | (org-babel-comint-with-output | 337 | (org-babel-comint-with-output |
| 338 | (session org-babel-python-eoe-indicator nil body) | 338 | (session org-babel-python-eoe-indicator nil body) |