1
0
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:
Philip Kaludercic 2022-08-04 14:20:58 +02:00
parent 9313551fae
commit 24e93505b9

View File

@ -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)))