Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!decvax!ucbvax!hplabs!hpda!hpwala!hpwale!frede From: frede@hpwale.HP.COM (Fred Ehrhardt) Newsgroups: comp.emacs Subject: Re: Need help w/ Gnu auto-mode-alist Message-ID: <760004@hpwale.HP.COM> Date: 17 Feb 88 15:36:07 GMT References: <760003@hpwale.HP.COM> Organization: HP Waltham Division Lines: 9 Thanks to the suggestions from several Net-ters, I've wound up with this Elisp code in my .emacs. This lets c++-mode override the c-mode in the original auto-mode-alist. (setq auto-mode-alist (append '(("\\.c$" . c++-mode) ("\\.doc$" . nroff-mode)) auto-mode-alist))