Function: kotl-mode:copy-tree-or-region-to-buffer

kotl-mode:copy-tree-or-region-to-buffer is an interactive and byte-compiled function defined in kotl-mode.el.

Signature

(kotl-mode:copy-tree-or-region-to-buffer)

Documentation

Copy a Koutline tree to a specified buffer.

If no usable active region, prompt for and copy a Koutline tree to a specified buffer, otherwise, copy the active region.

Use 0 to copy the whole outline buffer. Prompt for whether or not to expand and include any hidden/invisible text within the copied text.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:copy-tree-or-region-to-buffer ()
  "Copy a Koutline tree to a specified buffer.
If no usable active region, prompt for and copy a Koutline tree
to a specified buffer, otherwise, copy the active region.

Use 0 to copy the whole outline buffer.  Prompt for whether or not
to expand and include any hidden/invisible text within the copied text."
  (interactive)
  (call-interactively
   (if (use-region-p)
       #'kotl-mode:copy-region-to-buffer
     #'kotl-mode:copy-tree-to-buffer)))