summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/eww.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index b7b2e089752..6ed0719eca6 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -349,6 +349,8 @@ This can also be used on the command line directly:
will start Emacs and browse the GNU web site."
(interactive)
+ (unless command-line-args-left
+ (user-error "No URL given"))
(eww (pop command-line-args-left)))