Re: C-Return no longer working in

Carsten Bormann <[email protected]> Sun, 8 Sep 2013 12:41:29 +0200
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
On Sep 8, 2013, at 12:02, Dave Pawson <[email protected]> wrote:

> This seems to have been lost.

Yep.  It's now on M-TAB, which is not useful on a Mac if you use CMD as Met=
a.
(I'm assuming the old keyboard binding was removed because it clashed with =
some Emacs conventions.)

Fix below (put this in your .emacs).

Gr=FC=DFe, Carsten


(defun bind-nxml-mode-keys ()
  (define-key nxml-mode-map (kbd "<C-return>") 'completion-at-point)
  ;; add further customizations here
)

(add-hook 'nxml-mode-hook 'bind-nxml-mode-keys)