From: Glenn Morris Date: Wed, 27 Jan 2016 22:01:30 +0000 (-0500) Subject: * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error X-Git-Tag: emacs-25.0.90~30 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=82bf438c569967d0868f55242f273a4b0e46528a;p=emacs.git * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error if not compiled with xwidgets. --- 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." (browse-url-interactive-arg "xwidget-webkit URL: " ;;(xwidget-webkit-current-url) ))) + (or (featurep 'xwidget-internal) + (user-error "Your Emacs was not compiled with xwidgets support")) (when (stringp url) (if new-session (xwidget-webkit-new-session url)