Re: Uses nxhtml-mode in an no-standard extension files

Jason Rumney <[email protected]>
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
Florent Georges wrote:
>
> push is available for a while now in GNU Emacs, so for the sake of
> readibility I suggest the equivalent (but that's just cosmetic):
>
> (push '("\\...\\'" . nxml-mode) auto-mode-alist)
>

I'd suggest using add-to-list rather than push for the following reasons:

1.It avoids duplicate entries.
2. It is part of elisp so doesn't pull in the full common lisp 
compatibility library.



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.