projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9313551
)
* eww.el (eww-browse): Raise error if there are no arguments
author
Philip Kaludercic
<philipk@posteo.net>
Thu, 4 Aug 2022 12:20:58 +0000
(14:20 +0200)
committer
Philip Kaludercic
<philipk@posteo.net>
Thu, 4 Aug 2022 12:20:58 +0000
(14:20 +0200)
lisp/net/eww.el
patch
|
blob
|
history
diff --git
a/lisp/net/eww.el
b/lisp/net/eww.el
index b7b2e08975218214fe47eb643f56677533496bfd..6ed0719eca6a12ec8c319e640d06392c58bf1317 100644
(file)
--- 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)))