Function: kimport:insert-file-contents

kimport:insert-file-contents is an interactive and byte-compiled function defined in kimport.el.

Signature

(kimport:insert-file-contents FILENAME)

Documentation

Insert contents of file FILENAME into current cell after point.

Set mark after the inserted text.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kimport.el
(defun kimport:insert-file-contents (filename)
  "Insert contents of file FILENAME into current cell after point.
Set mark after the inserted text."
  (interactive "*fInsert file: ")
  (let ((tem (insert-file-contents filename)))
    (push-mark (+ (point) (car (cdr tem)))))
  (kotl-mode:add-indent-to-region))