summaryrefslogtreecommitdiff
path: root/lisp/nxml
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-05-20 11:12:20 -0400
committerChong Yidong <cyd@stupidchicken.com>2010-05-20 11:12:20 -0400
commitf8e6369193666ccd4e38b1ed490042a2a7ce5c91 (patch)
treed149fbee77027ab022dcf8323f68db8416587aa6 /lisp/nxml
parent31c4aaf628ce21077b2f4de95bb4d0dd8e0b96ee (diff)
downloademacs-f8e6369193666ccd4e38b1ed490042a2a7ce5c91.tar.gz
* nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
nxml-finish-element, for consistency with SGML mode. * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to octave-close-block.
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 5eb9840a4ca..101b2585186 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\C-m" 'nxml-split-element)
(define-key map "\C-c\C-b" 'nxml-balanced-close-start-tag-block)
(define-key map "\C-c\C-i" 'nxml-balanced-close-start-tag-inline)