[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default for editing XML files

From: Chong Yidong
Subject: Re: Default for editing XML files
Date: Wed, 23 Sep 2009 11:57:57 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Juri Linkov <address@hidden> writes:

> I agree, it would be better to configure sgml-mode/nxml-mode
> for all calls of xml-mode in one place.  Maybe with the help
> of a new defcustom like:
> (defcustom xml-mode 'nxml-mode
>   "Define xml-mode."
>   :type '(choice (const nxml-mode)
>                (const sgml-mode)))
> (defun xml-mode ()
>   (interactive)
>   (funcall xml-mode))

Sounds fine to me.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]