Function: haskell-cabal-kill-indentation

haskell-cabal-kill-indentation is a natively compiled function defined in haskell-cabal.el.

Signature

(haskell-cabal-kill-indentation)

Documentation

Remove longest common whitespace prefix from each line

Source Code

;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-cabal.el
(defun haskell-cabal-kill-indentation ()
  "Remove longest common whitespace prefix from each line"
  (goto-char (point-min))
  (let ((indent (haskell-cabal-min-indentation)))
    (haskell-cabal-each-line (unless (haskell-cabal-ignore-line-p)
                               (delete-char indent)) )
    indent))