Function: kotl-mode:indent-line

kotl-mode:indent-line is an interactive and byte-compiled function defined in kotl-mode.el.

Signature

(kotl-mode:indent-line &optional ARG)

Documentation

Indent line relative to the previous one.

With optional prefix ARG greater than 1, tab forward ARG times. See the documentation string of kotl-mode:indent-tabs-mode for details on when tabs are used for indenting.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:indent-line (&optional arg)
  "Indent line relative to the previous one.
With optional prefix ARG greater than 1, tab forward ARG times.
See the documentation string of `kotl-mode:indent-tabs-mode' for details
on when tabs are used for indenting."
  (interactive "*p")
  (setq arg (prefix-numeric-value arg))
  (let ((indent-tabs-mode kotl-mode:indent-tabs-mode))
    (if (> arg 1)
	(while (> arg 0)
	  (tab-to-tab-stop)
	  (setq arg (1- arg)))
      (indent-relative))))