Adapt nXML mode to Emacs 24 completion scheme.
commit5d1ac394e135c411ff7e793e0a05ab5e2f7d2066
authorChong Yidong <cyd@gnu.org>
Mon, 12 Mar 2012 03:58:20 +0000 (12 11:58 +0800)
committerChong Yidong <cyd@gnu.org>
Mon, 12 Mar 2012 03:58:20 +0000 (12 11:58 +0800)
tree8c386af8034372d7d3256599ffa55073d39bc08f
parent292112ed3b196b6181010b0965a1df41d0cacf3a
Adapt nXML mode to Emacs 24 completion scheme.

* lisp/nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET.
(nxml-completion-at-point-function): New function.
(nxml-mode): Use it.
(nxml-bind-meta-tab-to-complete-flag): Default to t.

Fixes: debbugs:6776
etc/NEWS
lisp/ChangeLog
lisp/nxml/nxml-mode.el