Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I'm using the comment package for the comment environment. This environment cannot be indented, just like the verbatim environment. How can I configure AUCTeX to not indent this environment? Thanks in advance.
(add-to-list 'LaTeX-verbatim-environments "comment")
(add-to-list 'LaTeX-indent-environment-list '("comment" current-indentation))
(eval-after-load "latex" (progn (make-local-variable 'LaTeX-indent-environment-list) (add-to-list 'LaTeX-indent-environment-list '("comment" current-indentation))))
Required, but never shown
3 years, 5 months ago