aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJoakim Verona2011-07-20 16:18:25 +0200
committerJoakim Verona2011-07-20 16:18:25 +0200
commit7cdff38f2f77f7c1c8ec2bfb3b268ccdce6ff218 (patch)
treed61e6bcd32a5bd17661d0e3876a2fc9988ba03f0 /lisp
parent28a041449132510fce2b6e3c7d7596da114a91c3 (diff)
downloademacs-7cdff38f2f77f7c1c8ec2bfb3b268ccdce6ff218.tar.gz
emacs-7cdff38f2f77f7c1c8ec2bfb3b268ccdce6ff218.zip
webkit reload
Diffstat (limited to 'lisp')
-rw-r--r--lisp/xwidget.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/xwidget.el b/lisp/xwidget.el
index fcb62b53a95..837f8454671 100644
--- a/lisp/xwidget.el
+++ b/lisp/xwidget.el
@@ -73,6 +73,7 @@ defaults to the string looking like a url around the cursor position."
73 (define-key map "g" 'xwidget-webkit-browse-url) 73 (define-key map "g" 'xwidget-webkit-browse-url)
74 (define-key map "a" 'xwidget-webkit-adjust-size-to-content) 74 (define-key map "a" 'xwidget-webkit-adjust-size-to-content)
75 (define-key map "b" 'xwidget-webkit-back ) 75 (define-key map "b" 'xwidget-webkit-back )
76 (define-key map "r" 'xwidget-webkit-reload )
76 (define-key map "\C-m" 'xwidget-webkit-insert-string) 77 (define-key map "\C-m" 'xwidget-webkit-insert-string)
77 map) 78 map)
78 79
@@ -135,7 +136,7 @@ defaults to the string looking like a url around the cursor position."
135 136
136(defun xwidget-webkit-reload () 137(defun xwidget-webkit-reload ()
137 (interactive) 138 (interactive)
138 (xwidget-webkit-execute-script ( xwidget-webkit-last-session) "reload();")) 139 (xwidget-webkit-execute-script ( xwidget-webkit-last-session) "history.go(0);"))
139 140
140(defun xwidget-current-url () 141(defun xwidget-current-url ()
141 "get the webkit url" 142 "get the webkit url"