Function: haskell-cabal-previous-subsection

haskell-cabal-previous-subsection is an interactive and natively compiled function defined in haskell-cabal.el.

Signature

(haskell-cabal-previous-subsection)

Documentation

go to the previous subsection

Key Bindings

haskell-cabal-mode-map C-<up> haskell-cabal-mode-map M-p

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-previous-subsection ()
  "go to the previous subsection"
  (interactive)
  (if (haskell-cabal-header-p) (forward-line -1))
  (while (and (not (bobp))
              (not (haskell-cabal-header-p)))
    (forward-line -1))
  (haskell-cabal-forward-to-line-entry)
  )