diff options
author | Kyle Meyer <kyle@kyleam.com> | 2021-09-29 18:48:59 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2021-09-29 23:21:21 -0400 |
commit | bf9ec3d91a79414deac039f7bf83352a9b0a9a85 (patch) | |
tree | 5e636992801ca408a26f7b7532c666d24c80020e /lisp/org/ob-awk.el | |
parent | dc94ca7b2b878c9a88be72fea118bf6557259ffd (diff) | |
download | emacs-bf9ec3d91a79414deac039f7bf83352a9b0a9a85.tar.gz emacs-bf9ec3d91a79414deac039f7bf83352a9b0a9a85.tar.bz2 emacs-bf9ec3d91a79414deac039f7bf83352a9b0a9a85.zip |
Update to Org 9.5
Diffstat (limited to 'lisp/org/ob-awk.el')
-rw-r--r-- | lisp/org/ob-awk.el | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lisp/org/ob-awk.el b/lisp/org/ob-awk.el index b41d70f12ca..28e9d327576 100644 --- a/lisp/org/ob-awk.el +++ b/lisp/org/ob-awk.el @@ -3,6 +3,7 @@ ;; Copyright (C) 2011-2021 Free Software Foundation, Inc. ;; Author: Eric Schulte +;; Maintainer: Tyler Smith <tyler@plantarum.ca> ;; Keywords: literate programming, reproducible research ;; Homepage: https://orgmode.org @@ -58,12 +59,12 @@ This function is called by `org-babel-execute-src-block'." (code-file (let ((file (org-babel-temp-file "awk-"))) (with-temp-file file (insert full-body)) file)) (stdin (let ((stdin (cdr (assq :stdin params)))) - (when stdin - (let ((tmp (org-babel-temp-file "awk-stdin-")) - (res (org-babel-ref-resolve stdin))) - (with-temp-file tmp - (insert (org-babel-awk-var-to-awk res))) - tmp)))) + (when stdin + (let ((tmp (org-babel-temp-file "awk-stdin-")) + (res (org-babel-ref-resolve stdin))) + (with-temp-file tmp + (insert (org-babel-awk-var-to-awk res))) + tmp)))) (cmd (mapconcat #'identity (append (list org-babel-awk-command |