Function: command-line--load-script
command-line--load-script is a byte-compiled function defined in
startup.el.gz.
Signature
(command-line--load-script FILE)
Source Code
;; Defined in /usr/src/emacs/lisp/startup.el.gz
(defun command-line--load-script (file)
(load-with-code-conversion
file file nil t
(lambda (buffer file)
(with-current-buffer buffer
(goto-char (point-min))
;; Removing the #! and then calling `eval-buffer' will make the
;; reader not signal an error if it then turns out that the
;; buffer is empty.
(when (looking-at "#!")
(delete-line))
(eval-buffer buffer nil file nil t)))))