[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 24e93505b9: * eww.el (eww-browse): Raise error if there are no ar
From: |
Philip Kaludercic |
Subject: |
master 24e93505b9: * eww.el (eww-browse): Raise error if there are no arguments |
Date: |
Thu, 4 Aug 2022 08:21:20 -0400 (EDT) |
branch: master
commit 24e93505b97415cc9ef59afa4cc01c05c8693c9d
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
* eww.el (eww-browse): Raise error if there are no arguments
---
lisp/net/eww.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index b7b2e08975..6ed0719eca 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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 24e93505b9: * eww.el (eww-browse): Raise error if there are no arguments,
Philip Kaludercic <=