Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!yale!slb-sdr!saito From: saito@slb-sdr.UUCP (Naoki Saito) Newsgroups: comp.emacs Subject: Appending the new stuff to the auto-mode-alist Message-ID: <414@slb-sdr.UUCP> Date: Fri, 20-Nov-87 14:33:57 EST Article-I.D.: slb-sdr.414 Posted: Fri Nov 20 14:33:57 1987 Date-Received: Sun, 22-Nov-87 21:27:32 EST Organization: Schlumberger-Doll Research, Ridgefield, CT Lines: 16 Keywords: append, init file Hello! I tried to append the new stuff to the auto-mode-alist by putting the following line to my .emacs file. (append 'auto-mode-alist '(("\\.F$" . fortran-mode) ("\\.for$" . fortran-mode) ("\\.txt$" . text-mode))) But in fact, this didn't work. Of course, it's possible to put these lists in the loaddefs.el files, but I would like to do this personally. Could anyone out there give me suggestion/advise? Thanks in advance! Naoki Saito (saito%slb.sdr.com) Schlumberger-Doll Research