diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-05-07 23:08:17 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-05-07 23:08:17 +0000 |
commit | b6db8331aebe97d9ed2241000457783faf79a7e1 (patch) | |
tree | 58a6013f54a8528fd12e50f241d0e8e91ef9cba0 /lisp/emulation/pc-mode.el | |
parent | a44186d4494c7da917d77e929bf3078f2b2b4c3f (diff) | |
download | emacs-b6db8331aebe97d9ed2241000457783faf79a7e1.tar.gz |
Add C-escape binding.
Diffstat (limited to 'lisp/emulation/pc-mode.el')
-rw-r--r-- | lisp/emulation/pc-mode.el | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lisp/emulation/pc-mode.el b/lisp/emulation/pc-mode.el index a6f05a3f9b8..3265fd3ba35 100644 --- a/lisp/emulation/pc-mode.el +++ b/lisp/emulation/pc-mode.el @@ -1,11 +1,12 @@ (defun pc-bindings-mode () "Set up certain key bindings for PC compatibility. The keys affected are: - DELETE (and its variants) delete forward instead of backward. - C-BACKSPACE kills backward a word (as C-DELETE normally would). - M-BACKSPACE does undo. - HOME and END move to beginning and end of line - C-HOME and C-END move to beginning and end of buffer." +Delete (and its variants) delete forward instead of backward. +C-Backspace kills backward a word (as C-Delete normally would). +M-Backspace does undo. +Home and End move to beginning and end of line +C-Home and C-End move to beginning and end of buffer. +C-Escape does list-buffers." (interactive) (define-key function-key-map [delete] "\C-d") @@ -15,6 +16,8 @@ The keys affected are: (global-set-key [C-backspace] 'backward-kill-word) (global-set-key [M-backspace] 'undo) + (global-set-key [C-escape] 'list-buffers) + (global-set-key [home] 'beginning-of-line) (global-set-key [end] 'end-of-line) (global-set-key [C-home] 'beginning-of-buffer) |