💾 Archived View for perso.pw › blog › articles › emacs-fold.gmi captured on 2023-01-29 at 04:21:21. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-17)

➡️ Next capture (2023-05-24)

🚧 View Differences

-=-=-=-=-=-=-

Fold functions in emacs

NIL=> Comment on Mastodon

You want to fold (hide) code between brackets like an if statement, a

function, a loop etc.. ? Use the HideShow minor-mode which is part of

emacs. All you need is to enable **hs-minor-mode**. Now you can

fold/unfold by cycling with C-c @ C-c.

[HideShow on EmacsWiki](https://www.emacswiki.org/emacs/HideShow)