help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] [SOLVED] <C-return> is undefined in nXML mode


From: John Brown
Subject: Re: [h-e-w] [SOLVED] <C-return> is undefined in nXML mode
Date: Fri, 4 Jan 2013 20:32:12 -0800 (PST)

Hello All,

I don't know if this is the "right" solution, but I edited
\emacs-installation-dir\lisp\nxml\nxml-mode.el. I found
where (some) bindings were defined:


(defvar nxml-mode-map
  (let ((map (make-sparse-keymap)))
    (define-key map "\M-\C-u" 'nxml-backward-up-element)
    (define-key map "\M-\C-d" 'nxml-down-element)
...
    ;; (define-key map "\M-\t" 'completion-at-point)
    (define-key map [C-return] 'completion-at-point)
map)

I commented out the original binding for completion-
at-point, added a new one and byte-compiled nxml-mode.el.

Regards,
John Brown.



reply via email to

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