diff options
| -rw-r--r-- | lisp/xwidget.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/xwidget.el b/lisp/xwidget.el index 9f257ba463a..88931194306 100644 --- a/lisp/xwidget.el +++ b/lisp/xwidget.el | |||
| @@ -97,6 +97,8 @@ Interactively, URL defaults to the string looking like a url around point." | |||
| 97 | (browse-url-interactive-arg "xwidget-webkit URL: " | 97 | (browse-url-interactive-arg "xwidget-webkit URL: " |
| 98 | ;;(xwidget-webkit-current-url) | 98 | ;;(xwidget-webkit-current-url) |
| 99 | ))) | 99 | ))) |
| 100 | (or (featurep 'xwidget-internal) | ||
| 101 | (user-error "Your Emacs was not compiled with xwidgets support")) | ||
| 100 | (when (stringp url) | 102 | (when (stringp url) |
| 101 | (if new-session | 103 | (if new-session |
| 102 | (xwidget-webkit-new-session url) | 104 | (xwidget-webkit-new-session url) |