Hello,

Bastien <b...@altern.org> writes:

> Nicolas Goaziou <n.goaz...@gmail.com> writes:
>
> I can reproduce the problem with 
>
>   (add-hook 'message-setup-hook 'turn-on-orgstruct++)
>
> I cannot reproduce it with
>
>   (add-hook 'message-mode-hook 'turn-on-orgstruct++)
>
> Can you confirm this is the same for you?

No, it happens with `message-mode-hook'. Here is the relevant part of my
configuration:

#+begin_src elisp
(defun ngz-message-mode-hook-handler ()
  (turn-on-flyspell)
  (turn-on-orgtbl)
  (turn-on-orgstruct++)
  (set (make-local-variable 'org-footnote-tag-for-non-org-mode-files) nil)
  (local-set-key (kbd "C-c C-x f") 'org-footnote-action))

(add-hook 'message-mode-hook 'ngz-message-mode-hook-handler)
#+end_src


Regards,

-- 
Nicolas Goaziou

Reply via email to