Function: kotl-mode:tab-command

kotl-mode:tab-command is an interactive and byte-compiled function defined in kotl-mode.el.

Signature

(kotl-mode:tab-command ARG)

Documentation

Tab over by ARG tab stops or demote the current tree a maximum of ARG levels.

Which command is run depends on the value of kotl-mode:tab-flag. Toggle its value by sending this command an explicit ARG of 1. Use nil for ARG to run the tab command once.

See also the documentation strings for kotl-mode:indent-line and kotl-mode:demote-tree.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:tab-command (arg)
  "Tab over by ARG tab stops or demote the current tree a maximum of ARG levels.
Which command is run depends on the value of `kotl-mode:tab-flag'.  Toggle
its value by sending this command an explicit ARG of 1.  Use nil for ARG to
run the tab command once.

See also the documentation strings for `kotl-mode:indent-line' and
`kotl-mode:demote-tree'."
  (interactive "*P")
  (if (eq arg 1)
      (call-interactively 'kotl-mode:toggle-tab-flag)
    (setq arg (prefix-numeric-value arg))
    (cond (kotl-mode:tab-flag (kotl-mode:indent-line arg))
	  (t (kotl-mode:demote-tree arg)))))