diff options
| author | Chong Yidong | 2011-10-01 16:32:01 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-10-01 16:32:01 -0400 |
| commit | ce3cefcca3227944d27d75e7de0f1e4f4b6d11a6 (patch) | |
| tree | 7cffa923342b0b352d3e804d81594aa5ce63f1ba /lisp/progmodes/cpp.el | |
| parent | b6bd159922608fa474026837771d63bf7eadcf97 (diff) | |
| download | emacs-ce3cefcca3227944d27d75e7de0f1e4f4b6d11a6.tar.gz emacs-ce3cefcca3227944d27d75e7de0f1e4f4b6d11a6.zip | |
Change scroll-up/down bindings to Emacs 24's scroll-*-command.
* cus-edit.el (custom-mode-map):
* epa.el (epa-key-list-mode-map):
* man.el (Man-mode-map):
* startup.el (splash-screen-keymap):
* simple.el (special-mode-map): Use scroll-up-command and
scroll-down-command.
* progmodes/idlw-help.el (idlwave-help-mode-map):
* progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
* net/newst-plainview.el (newsticker-mode-map):
* emulation/ws-mode.el (wordstar-mode-map):
* emulation/vi.el (vi-com-map):
* calc/calc-graph.el (calc-graph-show-dumb):
* term/sun.el (terminal-init-sun):
* term/ns-win.el (global-map):
* progmodes/grep.el (grep-mode-map):
* progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
* mail/rmail.el (rmail-mode-map):
* progmodes/cpp.el (cpp-edit-mode-map): Likewise.
Diffstat (limited to 'lisp/progmodes/cpp.el')
| -rw-r--r-- | lisp/progmodes/cpp.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/cpp.el b/lisp/progmodes/cpp.el index a8f01705e2d..e5bfda54728 100644 --- a/lisp/progmodes/cpp.el +++ b/lisp/progmodes/cpp.el | |||
| @@ -419,8 +419,8 @@ A prefix arg suppresses display of that buffer." | |||
| 419 | (suppress-keymap map) | 419 | (suppress-keymap map) |
| 420 | (define-key map [ down-mouse-2 ] 'cpp-push-button) | 420 | (define-key map [ down-mouse-2 ] 'cpp-push-button) |
| 421 | (define-key map [ mouse-2 ] 'ignore) | 421 | (define-key map [ mouse-2 ] 'ignore) |
| 422 | (define-key map " " 'scroll-up) | 422 | (define-key map " " 'scroll-up-command) |
| 423 | (define-key map "\C-?" 'scroll-down) | 423 | (define-key map "\C-?" 'scroll-down-command) |
| 424 | (define-key map [ delete ] 'scroll-down) | 424 | (define-key map [ delete ] 'scroll-down) |
| 425 | (define-key map "\C-c\C-c" 'cpp-edit-apply) | 425 | (define-key map "\C-c\C-c" 'cpp-edit-apply) |
| 426 | (define-key map "a" 'cpp-edit-apply) | 426 | (define-key map "a" 'cpp-edit-apply) |