diff options
| author | Richard M. Stallman | 1995-05-07 23:08:17 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-05-07 23:08:17 +0000 |
| commit | 002c4306f09aa9a4a81903325c1fa072a0b25ebe (patch) | |
| tree | d9f39efe7917bb7b9738f2e2b98cc2dae3547ee4 | |
| parent | b6384070e8a6736447005402e5e9dc63238c1793 (diff) | |
| download | emacs-002c4306f09aa9a4a81903325c1fa072a0b25ebe.tar.gz emacs-002c4306f09aa9a4a81903325c1fa072a0b25ebe.zip | |
Add C-escape binding.
| -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 @@ | |||
| 1 | (defun pc-bindings-mode () | 1 | (defun pc-bindings-mode () |
| 2 | "Set up certain key bindings for PC compatibility. | 2 | "Set up certain key bindings for PC compatibility. |
| 3 | The keys affected are: | 3 | The keys affected are: |
| 4 | DELETE (and its variants) delete forward instead of backward. | 4 | Delete (and its variants) delete forward instead of backward. |
| 5 | C-BACKSPACE kills backward a word (as C-DELETE normally would). | 5 | C-Backspace kills backward a word (as C-Delete normally would). |
| 6 | M-BACKSPACE does undo. | 6 | M-Backspace does undo. |
| 7 | HOME and END move to beginning and end of line | 7 | Home and End move to beginning and end of line |
| 8 | C-HOME and C-END move to beginning and end of buffer." | 8 | C-Home and C-End move to beginning and end of buffer. |
| 9 | C-Escape does list-buffers." | ||
| 9 | 10 | ||
| 10 | (interactive) | 11 | (interactive) |
| 11 | (define-key function-key-map [delete] "\C-d") | 12 | (define-key function-key-map [delete] "\C-d") |
| @@ -15,6 +16,8 @@ The keys affected are: | |||
| 15 | (global-set-key [C-backspace] 'backward-kill-word) | 16 | (global-set-key [C-backspace] 'backward-kill-word) |
| 16 | (global-set-key [M-backspace] 'undo) | 17 | (global-set-key [M-backspace] 'undo) |
| 17 | 18 | ||
| 19 | (global-set-key [C-escape] 'list-buffers) | ||
| 20 | |||
| 18 | (global-set-key [home] 'beginning-of-line) | 21 | (global-set-key [home] 'beginning-of-line) |
| 19 | (global-set-key [end] 'end-of-line) | 22 | (global-set-key [end] 'end-of-line) |
| 20 | (global-set-key [C-home] 'beginning-of-buffer) | 23 | (global-set-key [C-home] 'beginning-of-buffer) |