# HG changeset patch # User Chong Yidong # Date 1274368340 14400 # Node ID 99ad939c8d053e816018e06acab102f62be40580 # Parent 036d7d33c803e06b72a1725bc5cf3ee437116cbb * 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. diff -r 036d7d33c803 -r 99ad939c8d05 lisp/ChangeLog --- a/lisp/ChangeLog Thu May 20 10:53:30 2010 -0400 +++ b/lisp/ChangeLog Thu May 20 11:12:20 2010 -0400 @@ -1,3 +1,11 @@ +2010-05-20 Chong Yidong + + * 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. + 2010-05-20 Juanma Barranquero * composite.el: Require cl when compiling. diff -r 036d7d33c803 -r 99ad939c8d05 lisp/nxml/nxml-mode.el --- a/lisp/nxml/nxml-mode.el Thu May 20 10:53:30 2010 -0400 +++ b/lisp/nxml/nxml-mode.el Thu May 20 11:12:20 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\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) diff -r 036d7d33c803 -r 99ad939c8d05 lisp/progmodes/octave-mod.el --- a/lisp/progmodes/octave-mod.el Thu May 20 10:53:30 2010 -0400 +++ b/lisp/progmodes/octave-mod.el Thu May 20 11:12:20 2010 -0400 @@ -214,6 +214,7 @@ (define-key map "\C-c\M-\C-d" 'octave-down-block) (define-key map "\C-c\M-\C-h" 'octave-mark-block) (define-key map "\C-c]" 'octave-close-block) + (define-key map "\C-c/" 'octave-close-block) (define-key map "\C-c\C-f" 'octave-insert-defun) (define-key map "\C-c\C-h" 'octave-help) (define-key map "\C-c\C-il" 'octave-send-line)