Ask Your Question
1

What is the method for enabling hs-minor-mode permanently in emacs?

asked 2023-01-24 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-03-25 00:00:00 +0000

bukephalos gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-01-24 11:00:00 +0000

Seen: 4 times

Last updated: Mar 25 '22