Function: org-babel-octave-import-elisp-from-file

org-babel-octave-import-elisp-from-file is a byte-compiled function defined in ob-octave.el.gz.

Signature

(org-babel-octave-import-elisp-from-file FILE-NAME)

Documentation

Import data from FILE-NAME.

This removes initial blank and comment lines and then calls org-babel-import-elisp-from-file.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-octave.el.gz
(defun org-babel-octave-import-elisp-from-file (file-name)
  "Import data from FILE-NAME.
This removes initial blank and comment lines and then calls
`org-babel-import-elisp-from-file'."
  (let ((temp-file (org-babel-temp-file "octave-matlab-")) beg end)
    (with-temp-file temp-file
      (insert-file-contents file-name)
      (re-search-forward "^[ \t]*[^# \t]" nil t)
      (when (< (setq beg (point-min))
               (setq end (line-beginning-position)))
	(delete-region beg end)))
    (org-babel-import-elisp-from-file temp-file '(16))))