Add nxml to list of devel modes. Call 'nxml-complete' as completion function.
--- a/.emacs-my Fri Nov 09 16:20:22 2012 +0200
+++ b/.emacs-my Mon Nov 12 16:58:37 2012 +0200
@@ -150,7 +150,7 @@
makefile-mode makefile-gmake-mode
nsis-mode
bat-generic-mode
- html-mode
+ html-mode nxml-mode
LilyPond-mode
texinfo-mode
)
@@ -2422,7 +2422,7 @@
(eval-after-load 'rng-loc
'(progn
(add-to-list 'rng-schema-locating-files "~/.emacs.d/rnc/schemas.xml")
- (define-key nxml-mode-map [C-return] 'completion-at-point)
+ (define-key nxml-mode-map [C-return] 'nxml-complete)
))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;