mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
* eww.el (eww-browse): Raise error if there are no arguments
This commit is contained in:
parent
9313551fae
commit
24e93505b9
@ -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)))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user