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

Paul Hughett hughett at mercur.uphs.upenn.edu
Fri Jul 14 14:51:32 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