From: Ricardo Wurmus Date: Wed, 26 Oct 2016 06:00:35 +0000 (-0700) Subject: xwidget: Map "previous-line" and "next-line" to scroll X-Git-Tag: emacs-26.0.90~1415 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ca479f9e75c62c07178b75df5f64aa7b81a32618;p=emacs.git xwidget: Map "previous-line" and "next-line" to scroll * lisp/xwidget.el: Map "previous-line" and "next-line" to scrolling procedures. --- 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)