Variable: kimport:mode-alist

kimport:mode-alist is a variable defined in kimport.el.

Value

((t . kimport:text)
 (outline-mode . kimport:star-outline))

Documentation

Alist of (major-mode . importation-function) elements.

This determines the type of importation done on a file when kimport:file is called if the major mode of the import file matches the car of an element in this list. If there is no match, then kimport:suffix-alist is checked. If that yields no match, the element in this list whose car is t is used. It normally does an import of a koutline or text file.

Each importation-function must take two arguments, a buffer/file to import and a buffer/file into which to insert the imported elements and a third optional argument, CHILDREN-FLAG, which when non-nil means insert imported cells as the initial set of children of the current cell, if any.

   outline-mode - imported as an Emacs outline whose entries begin with
                     asterisks;
   .kot
   .kotl - imported as a structured koutline

   all others - imported as text.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kimport.el
;;; ************************************************************************
;;; Public variables
;;; ************************************************************************

;;;###autoload
(defvar kimport:mode-alist
  '((t . kimport:text)
    (outline-mode . kimport:star-outline))
  "Alist of (major-mode . importation-function) elements.
This determines the type of importation done on a file when `kimport:file' is
called if the major mode of the import file matches the car of an element in
this list.  If there is no match, then `kimport:suffix-alist' is checked.  If
that yields no match, the element in this list whose car is t is used.  It
normally does an import of a koutline or text file.

Each importation-function must take two arguments, a buffer/file to import
and a buffer/file into which to insert the imported elements and a third
optional argument, CHILDREN-FLAG, which when non-nil means insert imported cells
as the initial set of children of the current cell, if any.

   `outline-mode'  - imported as an Emacs outline whose entries begin with
                     asterisks;
   .kot
   .kotl           - imported as a structured koutline

   all others      - imported as text.")