Function: kimport:insert-file

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

Signature

(kimport:insert-file IMPORT-FROM CHILDREN-FLAG)

Documentation

Insert each element in IMPORT-FROM as a separate cell in the current view.

Insert as sibling cells following the current cell unless prefix arg, CHILDREN-FLAG is non-nil, then insert as the initial children of the current cell.

IMPORT-FROM may be a buffer name or file name (file name completion is provided).

See documentation for kimport:file for information on how the type of importation is determined.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kimport.el
;;;###autoload
(defun kimport:insert-file (import-from children-flag)
  "Insert each element in IMPORT-FROM as a separate cell in the current view.
Insert as sibling cells following the current cell unless prefix arg,
CHILDREN-FLAG is non-nil, then insert as the initial children of the current
cell.

IMPORT-FROM may be a buffer name or file name (file name completion is
provided).

See documentation for `kimport:file' for information on how the type of
importation is determined."
  (interactive
   (list (read-file-name
	  (if current-prefix-arg
	      "Buffer or file to insert as children of current cell: "
	    "Buffer or file to insert as siblings of current cell: "))
	 current-prefix-arg))
  (kimport:file import-from (current-buffer) children-flag))