aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/calc
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2011-10-01 16:32:01 -0400
committerChong Yidong <[email protected]>2011-10-01 16:32:01 -0400
commitce3cefcca3227944d27d75e7de0f1e4f4b6d11a6 (patch)
tree7cffa923342b0b352d3e804d81594aa5ce63f1ba /lisp/calc
parentb6bd159922608fa474026837771d63bf7eadcf97 (diff)
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/calc')
-rw-r--r--lisp/calc/calc-graph.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/calc/calc-graph.el b/lisp/calc/calc-graph.el
index d5d8f0aaf3..4fd5045f54 100644
--- a/lisp/calc/calc-graph.el
+++ b/lisp/calc/calc-graph.el
@@ -946,13 +946,13 @@ This \"dumb\" driver will be present in Gnuplot 3.0."
(or calc-dumb-map
(progn
(setq calc-dumb-map (make-sparse-keymap))
- (define-key calc-dumb-map "\n" 'scroll-up)
- (define-key calc-dumb-map " " 'scroll-up)
- (define-key calc-dumb-map "\177" 'scroll-down)
+ (define-key calc-dumb-map "\n" 'scroll-up-command)
+ (define-key calc-dumb-map " " 'scroll-up-command)
+ (define-key calc-dumb-map "\177" 'scroll-down-command)
(define-key calc-dumb-map "<" 'scroll-left)
(define-key calc-dumb-map ">" 'scroll-right)
- (define-key calc-dumb-map "{" 'scroll-down)
- (define-key calc-dumb-map "}" 'scroll-up)
+ (define-key calc-dumb-map "{" 'scroll-down-command)
+ (define-key calc-dumb-map "}" 'scroll-up-command)
(define-key calc-dumb-map "q" 'exit-recursive-edit)
(define-key calc-dumb-map "\C-c\C-c" 'exit-recursive-edit)))
(use-local-map calc-dumb-map)