diff options
| author | Kim F. Storm | 2011-01-14 16:06:17 +0100 |
|---|---|---|
| committer | Kim F. Storm | 2011-01-14 16:06:17 +0100 |
| commit | 8faba62c38f67693535c3471d867e66757b3b04e (patch) | |
| tree | b6cd42e449eed65522ff9c7db097c6c8604fcae6 | |
| parent | ab7eb8118053e3f9a992bf65afc874ab9fdb8b32 (diff) | |
| download | emacs-8faba62c38f67693535c3471d867e66757b3b04e.tar.gz emacs-8faba62c38f67693535c3471d867e66757b3b04e.zip | |
* emulation/cua-base.el (cua--init-keymaps):
Remap exchange-point-and-mark in cua-global-keymap.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emulation/cua-base.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 66fb8f3f12a..95b99750e3e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-01-14 Kim F. Storm <storm@cua.dk> | ||
| 2 | |||
| 3 | * emulation/cua-base.el (cua--init-keymaps): | ||
| 4 | Remap exchange-point-and-mark in cua-global-keymap. | ||
| 5 | |||
| 1 | 2011-01-14 Tassilo Horn <tassilo@member.fsf.org> | 6 | 2011-01-14 Tassilo Horn <tassilo@member.fsf.org> |
| 2 | 7 | ||
| 3 | * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach | 8 | * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach |
diff --git a/lisp/emulation/cua-base.el b/lisp/emulation/cua-base.el index bc64608a284..9b754c49ee7 100644 --- a/lisp/emulation/cua-base.el +++ b/lisp/emulation/cua-base.el | |||
| @@ -1438,6 +1438,7 @@ If ARG is the atom `-', scroll upward by nearly full screen." | |||
| 1438 | (define-key cua-global-keymap [remap yank-pop] 'cua-paste-pop) | 1438 | (define-key cua-global-keymap [remap yank-pop] 'cua-paste-pop) |
| 1439 | ;; set mark | 1439 | ;; set mark |
| 1440 | (define-key cua-global-keymap [remap set-mark-command] 'cua-set-mark) | 1440 | (define-key cua-global-keymap [remap set-mark-command] 'cua-set-mark) |
| 1441 | (define-key cua-global-keymap [remap exchange-point-and-mark] 'cua-exchange-point-and-mark) | ||
| 1441 | 1442 | ||
| 1442 | ;; scrolling | 1443 | ;; scrolling |
| 1443 | (define-key cua-global-keymap [remap scroll-up] 'cua-scroll-up) | 1444 | (define-key cua-global-keymap [remap scroll-up] 'cua-scroll-up) |
| @@ -1452,7 +1453,6 @@ If ARG is the atom `-', scroll upward by nearly full screen." | |||
| 1452 | (when cua-remap-control-v | 1453 | (when cua-remap-control-v |
| 1453 | (define-key cua--cua-keys-keymap [(control v)] 'yank) | 1454 | (define-key cua--cua-keys-keymap [(control v)] 'yank) |
| 1454 | (define-key cua--cua-keys-keymap [(meta v)] 'cua-repeat-replace-region)) | 1455 | (define-key cua--cua-keys-keymap [(meta v)] 'cua-repeat-replace-region)) |
| 1455 | (define-key cua--cua-keys-keymap [remap exchange-point-and-mark] 'cua-exchange-point-and-mark) | ||
| 1456 | 1456 | ||
| 1457 | (define-key cua--prefix-override-keymap [(control x)] 'cua--prefix-override-handler) | 1457 | (define-key cua--prefix-override-keymap [(control x)] 'cua--prefix-override-handler) |
| 1458 | (define-key cua--prefix-override-keymap [(control c)] 'cua--prefix-override-handler) | 1458 | (define-key cua--prefix-override-keymap [(control c)] 'cua--prefix-override-handler) |