[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/6] xwidget: Map "previous-line" and "next-line" to scroll
From: |
Ricardo Wurmus |
Subject: |
[PATCH 6/6] xwidget: Map "previous-line" and "next-line" to scroll |
Date: |
Wed, 21 Sep 2016 13:50:18 +0200 |
* 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 c266cac..a540a11 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)
--
2.10.0
- [PATCH 0/6] xwidget webkit: Use WebKit2 API., Ricardo Wurmus, 2016/09/21
- [PATCH 1/6] xwidget: Use WebKit2 API, Ricardo Wurmus, 2016/09/21
- [PATCH 2/6] Remove scrolled window container around WebKit widget, Ricardo Wurmus, 2016/09/21
- [PATCH 3/6] Implement zoom for WebKit widget, Ricardo Wurmus, 2016/09/21
- [PATCH 4/6] xwidget: Bind "beginning-of-buffer" and "end-of-buffer", Ricardo Wurmus, 2016/09/21
- [PATCH 5/6] Let initial WebKit view fill window, Ricardo Wurmus, 2016/09/21
- [PATCH 6/6] xwidget: Map "previous-line" and "next-line" to scroll,
Ricardo Wurmus <=
- Re: [PATCH 0/6] xwidget webkit: Use WebKit2 API., joakim, 2016/09/21
- Re: [PATCH 0/6] xwidget webkit: Use WebKit2 API., Eli Zaretskii, 2016/09/21