I use the auto-complete feature of LaTeX-environment often. I'd like to be able to remove entries from the auto-complete list. I usually need to use the packages amsmath and amsthm, which introduce lots of environments I don't use. I'd prefer not to have them in my auto-complete list (so that I can type fewer characters to find the environment I want). Is there a way to have this happen automatically after I open a file?

1 Answer 1


You can declare macros and environments you don't need using TeX-declare-expert-macros and LaTeX-declare-expert-environments and then set TeX-complete-expert-commands to nil.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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