diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-10-23 20:21:59 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-10-23 20:21:59 -0400 |
commit | 8a79905db426821893dab61c9076a978b25adda2 (patch) | |
tree | da320d955663ed5f5a89b3843e7d2d52561f4ae3 /lisp/progmodes | |
parent | 7dfc15df2f3caa07932cf78ba9dcd93c7c5c5040 (diff) | |
download | emacs-8a79905db426821893dab61c9076a978b25adda2.tar.gz emacs-8a79905db426821893dab61c9076a978b25adda2.tar.bz2 emacs-8a79905db426821893dab61c9076a978b25adda2.zip |
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/progmodes')
-rw-r--r-- | lisp/progmodes/f90.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index 64c716208e9..b6c42d2c550 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el @@ -657,6 +657,7 @@ Can be overridden by the value of `font-lock-maximum-decoration'.") (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) |