diff lisp/nxml/nxml-mode.el @ 111128:d38d192ed185

Bind "C-c ]" to block-closing commands in several modes. Bind "C-c ]" to ... * progmodes/f90.el (f90-mode-map): ... f90-insert-end. * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element. * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block. * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 23 Oct 2010 20:21:59 -0400
parents 18cf7a828b34
children 49c747159b30
line wrap: on
line diff
--- a/lisp/nxml/nxml-mode.el	Sat Oct 23 14:58:18 2010 -0700
+++ b/lisp/nxml/nxml-mode.el	Sat Oct 23 20:21:59 2010 -0400
@@ -404,6 +404,7 @@
     (define-key map "\M-}" 'nxml-forward-paragraph)
     (define-key map "\M-h" 'nxml-mark-paragraph)
     (define-key map "\C-c\C-f" 'nxml-finish-element)
+    (define-key map "\C-c]" 'nxml-finish-element)
     (define-key map "\C-c/" 'nxml-finish-element)
     (define-key map "\C-c\C-m" 'nxml-split-element)
     (define-key map "\C-c\C-b" 'nxml-balanced-close-start-tag-block)