Function: org-babel-process-file-name
org-babel-process-file-name is a byte-compiled function defined in
ob-core.el.gz.
Signature
(org-babel-process-file-name NAME &optional NO-QUOTE-P)
Documentation
Prepare NAME to be used in an external process.
If NAME specifies a remote location, the remote portion of the
name is removed, since in that case the process will be executing
remotely. The file name is then processed by expand-file-name.
Unless second argument NO-QUOTE-P is non-nil, the file name is
additionally processed by shell-quote-argument.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-core.el.gz
(defun org-babel-process-file-name (name &optional no-quote-p)
"Prepare NAME to be used in an external process.
If NAME specifies a remote location, the remote portion of the
name is removed, since in that case the process will be executing
remotely. The file name is then processed by `expand-file-name'.
Unless second argument NO-QUOTE-P is non-nil, the file name is
additionally processed by `shell-quote-argument'."
(let ((f (org-babel-local-file-name (expand-file-name name))))
(if no-quote-p f (shell-quote-argument f))))