summaryrefslogtreecommitdiff
path: root/lisp/xwidget.el
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-10-25 23:00:35 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-10-25 23:07:13 -0700
commitca479f9e75c62c07178b75df5f64aa7b81a32618 (patch)
treeacd649597d5a242bfc42e86499694e8567f0d55c /lisp/xwidget.el
parent01c2fba677728a7dd7e89ed92aff044831f4ca27 (diff)
downloademacs-ca479f9e75c62c07178b75df5f64aa7b81a32618.tar.gz
xwidget: Map "previous-line" and "next-line" to scroll
* lisp/xwidget.el: Map "previous-line" and "next-line" to scrolling procedures.
Diffstat (limited to 'lisp/xwidget.el')
-rw-r--r--lisp/xwidget.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/xwidget.el b/lisp/xwidget.el
index 8aa05844e26..6443954824c 100644
--- a/lisp/xwidget.el
+++ b/lisp/xwidget.el
@@ -124,8 +124,8 @@ Interactively, URL defaults to the string looking like a url around point."
(define-key map [remap backward-char] 'xwidget-webkit-scroll-backward)
(define-key map [remap right-char] 'xwidget-webkit-scroll-forward)
(define-key map [remap left-char] 'xwidget-webkit-scroll-backward)
- ;; (define-key map [remap previous-line] 'image-previous-line)
- ;; (define-key map [remap next-line] 'image-next-line)
+ (define-key map [remap previous-line] 'xwidget-webkit-scroll-down)
+ (define-key map [remap next-line] 'xwidget-webkit-scroll-up)
;; (define-key map [remap move-beginning-of-line] 'image-bol)
;; (define-key map [remap move-end-of-line] 'image-eol)