Function: kotl-mode:untab-command

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

Signature

(kotl-mode:untab-command ARG)

Documentation

Delete backwards or promote the current tree.

Delete backwards by ARG tab stops or promote 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 untab command once.

See also the documentation strings for kotl-mode:delete-backward-char and kotl-mode:promote-tree.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:untab-command (arg)
  "Delete backwards or promote the current tree.
Delete backwards by ARG tab stops or promote 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 untab
command once.

See also the documentation strings for `kotl-mode:delete-backward-char' and
`kotl-mode:promote-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:delete-backward-char arg))
	  (t (kotl-mode:promote-tree arg)))))