[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102065: Bind "C-c ]" to block-closin
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102065: Bind "C-c ]" to block-closing commands in several modes. |
Date: |
Sat, 23 Oct 2010 20:21:59 -0400 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102065
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sat 2010-10-23 20:21:59 -0400
message:
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.
modified:
lisp/ChangeLog
lisp/nxml/nxml-mode.el
lisp/progmodes/f90.el
lisp/textmodes/sgml-mode.el
lisp/textmodes/tex-mode.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-10-23 21:58:18 +0000
+++ b/lisp/ChangeLog 2010-10-24 00:21:59 +0000
@@ -1,3 +1,11 @@
+2010-10-24 Chong Yidong <address@hidden>
+
+ 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.
+
2010-10-23 Glenn Morris <address@hidden>
* textmodes/flyspell.el (flyspell-mode): If there was an error,
=== modified file 'lisp/nxml/nxml-mode.el'
--- a/lisp/nxml/nxml-mode.el 2010-06-14 01:43:11 +0000
+++ b/lisp/nxml/nxml-mode.el 2010-10-24 00:21:59 +0000
@@ -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)
=== modified file 'lisp/progmodes/f90.el'
--- a/lisp/progmodes/f90.el 2010-05-21 01:13:57 +0000
+++ b/lisp/progmodes/f90.el 2010-10-24 00:21:59 +0000
@@ -657,6 +657,7 @@
(define-key map "\C-c\C-f" 'f90-fill-region)
(define-key map "\C-c\C-p" 'f90-previous-statement)
(define-key map "\C-c\C-n" 'f90-next-statement)
+ (define-key map "\C-c]" 'f90-insert-end)
(define-key map "\C-c\C-w" 'f90-insert-end)
;; Standard tab binding will call this, and also handle regions.
;;; (define-key map "\t" 'f90-indent-line)
=== modified file 'lisp/textmodes/sgml-mode.el'
--- a/lisp/textmodes/sgml-mode.el 2010-09-10 23:13:42 +0000
+++ b/lisp/textmodes/sgml-mode.el 2010-10-24 00:21:59 +0000
@@ -100,6 +100,7 @@
(define-key map "\C-c\C-d" 'sgml-delete-tag)
(define-key map "\C-c\^?" 'sgml-delete-tag)
(define-key map "\C-c?" 'sgml-tag-help)
+ (define-key map "\C-c]" 'sgml-close-tag)
(define-key map "\C-c/" 'sgml-close-tag)
;; Redundant keybindings, for consistency with TeX mode.
=== modified file 'lisp/textmodes/tex-mode.el'
--- a/lisp/textmodes/tex-mode.el 2010-09-23 06:42:45 +0000
+++ b/lisp/textmodes/tex-mode.el 2010-10-24 00:21:59 +0000
@@ -864,6 +864,7 @@
;; Redundant keybindings, for consistency with SGML mode.
(define-key map "\C-c\C-t" 'latex-insert-block)
+ (define-key map "\C-c]" 'latex-close-block)
(define-key map "\C-c/" 'latex-close-block)
(define-key map "\C-c\C-e" 'latex-close-block)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102065: Bind "C-c ]" to block-closing commands in several modes.,
Chong Yidong <=