1

I want to enable writeroom-mode whenever I startup org-mode because I don't really ever want writeroom-mode to be disabled if I'm using org-mode.

2

If you're using use-package just add the following to your~/.emacs file:

(use-package writeroom-mode
  :ensure t
  :init (add-hook 'org-mode-hook 'writeroom-mode)
  :after org)

If you're not using use-package then just put the following line somewhere in your ~/.emacs file:

(add-hook 'org-mode-hook 'writeroom-mode)
  • 1
    If this answer resolved your problem, please accept it. – Dan Oct 15 at 19:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.