[Insight-developers] Recognizing .txx as a C++ file in emacs

Paul W Hughett hughett at mail.med.upenn.edu
Fri Jul 14 15:04:38 EDT 2000


Another emacs customization suggested by Will's advice on avoiding
tabs.

Adding the following magic incantation to your .emacs (or _emacs)
file will cause emacs to automatically recognize files with the
extension .txx as C++ files and use C++ mode to edit them.

(setq auto-mode-alist (cons '("\\.txx\\'" . c++-mode) auto-mode-alist))


Paul Hughett




More information about the Insight-developers mailing list