; put rtf-mode.el in a directory in your load-path, and ; then put this in your .emacs file: (autoload 'rtf-mode "rtf-mode" "RTF mode" t) (add-to-list 'auto-mode-alist '("\\.rtf$" . rtf-mode))