To enable hs-minor-mode permanently in Emacs, you can add the following line to your .emacs file:
(add-hook 'emacs-lisp-mode-hook 'hs-minor-mode)
This will enable hs-minor-mode every time you open an Emacs Lisp file. You can also add this line to other mode-hooks if you want hs-minor-mode to be enabled in those modes as well.
Asked: 2023-01-24 11:00:00 +0000
Seen: 4 times
Last updated: Mar 25 '22