emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ca479f9 15/16: xwidget: Map "previous-line" and "ne


From: Paul Eggert
Subject: [Emacs-diffs] master ca479f9 15/16: xwidget: Map "previous-line" and "next-line" to scroll
Date: Wed, 26 Oct 2016 06:07:21 +0000 (UTC)

branch: master
commit ca479f9e75c62c07178b75df5f64aa7b81a32618
Author: Ricardo Wurmus <address@hidden>
Commit: Paul Eggert <address@hidden>

    xwidget: Map "previous-line" and "next-line" to scroll
    
    * lisp/xwidget.el: Map "previous-line" and "next-line" to scrolling
    procedures.
---
 lisp/xwidget.el |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/xwidget.el b/lisp/xwidget.el
index 8aa0584..6443954 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]