Function: php-ts-mode-send-file
php-ts-mode-send-file is an interactive and byte-compiled function
defined in php-ts-mode.el.gz.
Signature
(php-ts-mode-send-file FILE)
Documentation
Send contents of FILE to the inferior PHP process.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/php-ts-mode.el.gz
(defun php-ts-mode-send-file (file)
"Send contents of FILE to the inferior PHP process."
(interactive "f")
(with-temp-buffer
(insert-file-contents-literally file)
(search-forward "<?php" nil t)
(php-ts-mode-send-region (point) (point-max))))