diff options
| author | Joakim Verona | 2011-07-20 16:18:25 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-07-20 16:18:25 +0200 |
| commit | 7cdff38f2f77f7c1c8ec2bfb3b268ccdce6ff218 (patch) | |
| tree | d61e6bcd32a5bd17661d0e3876a2fc9988ba03f0 | |
| parent | 28a041449132510fce2b6e3c7d7596da114a91c3 (diff) | |
| download | emacs-7cdff38f2f77f7c1c8ec2bfb3b268ccdce6ff218.tar.gz emacs-7cdff38f2f77f7c1c8ec2bfb3b268ccdce6ff218.zip | |
webkit reload
| -rw-r--r-- | lisp/xwidget.el | 3 |
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" |