changeset 108714:99ad939c8d05

* 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.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 20 May 2010 11:12:20 -0400
parents 036d7d33c803
children 5b835c23f034
files lisp/ChangeLog lisp/nxml/nxml-mode.el lisp/progmodes/octave-mod.el
diffstat 3 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <cyd@stupidchicken.com>
+
+	* 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  <lekktu@gmail.com>
 
 	* composite.el: Require cl when compiling.
--- 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)
--- 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)