Created
February 12, 2025 18:27
-
-
Save vicente-gonzalez-ruiz/e336070883f220e640cbde37ccb484a5 to your computer and use it in GitHub Desktop.
Emacs and folding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install MELPA: | |
1.1 Add: | |
(require 'package) | |
(setq package-archives '(("melpa" . "https://melpa.org/packages/") | |
("org" . "https://orgmode.org/elpa/") | |
("gnu" . "https://elpa.gnu.org/packages/"))) | |
(package-initialize) | |
to ~/.emacs | |
1.2 Add: | |
(if (require 'folding nil 'noerror) | |
(folding-mode-add-find-file-hook) | |
(message "Library `folding' not found")) | |
to .emacs | |
2. Rerun emacs. | |
3. Run the commands: | |
M-x package-refresh-contents RET | |
M-x package-install RET folding RET | |
M-x folding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment