1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

webkit reload

This commit is contained in:
Joakim Verona 2011-07-20 16:18:25 +02:00
parent 28a0414491
commit 7cdff38f2f

View file

@ -73,6 +73,7 @@ defaults to the string looking like a url around the cursor position."
(define-key map "g" 'xwidget-webkit-browse-url)
(define-key map "a" 'xwidget-webkit-adjust-size-to-content)
(define-key map "b" 'xwidget-webkit-back )
(define-key map "r" 'xwidget-webkit-reload )
(define-key map "\C-m" 'xwidget-webkit-insert-string)
map)
@ -135,7 +136,7 @@ defaults to the string looking like a url around the cursor position."
(defun xwidget-webkit-reload ()
(interactive)
(xwidget-webkit-execute-script ( xwidget-webkit-last-session) "reload();"))
(xwidget-webkit-execute-script ( xwidget-webkit-last-session) "history.go(0);"))
(defun xwidget-current-url ()
"get the webkit url"