diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2011-10-01 16:32:01 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2011-10-01 16:32:01 -0400 |
commit | ce3cefcca3227944d27d75e7de0f1e4f4b6d11a6 (patch) | |
tree | 7cffa923342b0b352d3e804d81594aa5ce63f1ba /lisp/progmodes | |
parent | b6bd159922608fa474026837771d63bf7eadcf97 (diff) | |
download | emacs-ce3cefcca3227944d27d75e7de0f1e4f4b6d11a6.tar.gz |
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')
-rw-r--r-- | lisp/progmodes/cpp.el | 4 | ||||
-rw-r--r-- | lisp/progmodes/ebrowse.el | 8 | ||||
-rw-r--r-- | lisp/progmodes/grep.el | 4 | ||||
-rw-r--r-- | lisp/progmodes/idlw-help.el | 4 |
4 files changed, 10 insertions, 10 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." (suppress-keymap map) (define-key map [ down-mouse-2 ] 'cpp-push-button) (define-key map [ mouse-2 ] 'ignore) - (define-key map " " 'scroll-up) - (define-key map "\C-?" 'scroll-down) + (define-key map " " 'scroll-up-command) + (define-key map "\C-?" 'scroll-down-command) (define-key map [ delete ] 'scroll-down) (define-key map "\C-c\C-c" 'cpp-edit-apply) (define-key map "a" 'cpp-edit-apply) diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el index d31a46cc308..dd7a9824af3 100644 --- a/lisp/progmodes/ebrowse.el +++ b/lisp/progmodes/ebrowse.el @@ -1980,8 +1980,8 @@ COLLAPSE non-nil means collapse the branch." (define-key map "p" 'previous-line) (define-key map "n" 'next-line) (define-key map "v" 'ebrowse-electric-view-buffer) - (define-key map "\C-v" 'scroll-up) - (define-key map "\ev" 'scroll-down) + (define-key map "\C-v" 'scroll-up-command) + (define-key map "\ev" 'scroll-down-command) (define-key map "\e\C-v" 'scroll-other-window) (define-key map "\e>" 'end-of-buffer) (define-key map "\e<" 'beginning-of-buffer) @@ -3929,8 +3929,8 @@ Prefix arg ARG says how much." (define-key map "p" 'previous-line) (define-key map "n" 'next-line) (define-key map "v" 'ebrowse-electric-view-position) - (define-key map "\C-v" 'scroll-up) - (define-key map "\ev" 'scroll-down) + (define-key map "\C-v" 'scroll-up-command) + (define-key map "\ev" 'scroll-down-command) (define-key map "\e\C-v" 'scroll-other-window) (define-key map "\e>" 'end-of-buffer) (define-key map "\e<" 'beginning-of-buffer) diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 2c68a29dd00..ff192d5678e 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -245,8 +245,8 @@ See `compilation-error-screen-columns'" (defvar grep-mode-map (let ((map (make-sparse-keymap))) (set-keymap-parent map compilation-minor-mode-map) - (define-key map " " 'scroll-up) - (define-key map "\^?" 'scroll-down) + (define-key map " " 'scroll-up-command) + (define-key map "\^?" 'scroll-down-command) (define-key map "\C-c\C-f" 'next-error-follow-minor-mode) (define-key map "\r" 'compile-goto-error) ;; ? diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el index 05fcedde048..8d8966ee159 100644 --- a/lisp/progmodes/idlw-help.el +++ b/lisp/progmodes/idlw-help.el @@ -226,8 +226,8 @@ support." (define-key map "\C-m" (lambda (arg) (interactive "p") (scroll-up arg))) - (define-key map " " 'scroll-up) - (define-key map [delete] 'scroll-down) + (define-key map " " 'scroll-up-command) + (define-key map [delete] 'scroll-down-command) (define-key map "h" 'idlwave-help-find-header) (define-key map "H" 'idlwave-help-find-first-header) (define-key map "." 'idlwave-help-toggle-header-match-and-def) |