summaryrefslogtreecommitdiff
path: root/lisp/nxml
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-10-23 20:21:59 -0400
committerChong Yidong <cyd@stupidchicken.com>2010-10-23 20:21:59 -0400
commit8a79905db426821893dab61c9076a978b25adda2 (patch)
treeda320d955663ed5f5a89b3843e7d2d52561f4ae3 /lisp/nxml
parent7dfc15df2f3caa07932cf78ba9dcd93c7c5c5040 (diff)
downloademacs-8a79905db426821893dab61c9076a978b25adda2.tar.gz
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.
Diffstat (limited to 'lisp/nxml')
-rw-r--r--lisp/nxml/nxml-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el
index b428d8bf224..290e660cf5b 100644
--- a/lisp/nxml/nxml-mode.el
+++ b/lisp/nxml/nxml-mode.el
@@ -404,6 +404,7 @@ reference.")
(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)