[OS X Emacs] default buffer mode for file type
Peter Dyballa
Peter_Dyballa at Web.DE
Sat Sep 4 14:19:02 EDT 2010
Am 04.09.2010 um 18:06 schrieb Gideon Simpson:
> Is there a way to set aquamacs to default to a certain buffer mode
> when it opens files with a certain non-standard extension?
The standard way is to alter the variable auto-mode-alist as in:
(add-to-list 'auto-mode-alist '("\\.\\(nib\\|plist\\)\\'" . visit-
bplist))
--
Greetings
Pete
The wise man said: "Never argue with an idiot. They bring you down to
their level and beat you with experience."
More information about the MacOSX-Emacs
mailing list