commit d668714a84166609bedd92f061b8e913cde902ac
parent 1c8ce4380859644f3633ed04983f40128838a248
Author: Wilfred Hughes <me@wilfred.me.uk>
Date: Sun, 7 Jan 2018 15:13:14 +0000
Error on unbound symbols
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/helpful.el b/helpful.el
@@ -1419,7 +1419,9 @@ See also `helpful-callable' and `helpful-variable'."
((fboundp symbol)
(helpful-callable symbol))
((boundp symbol)
- (helpful-variable symbol))))
+ (helpful-variable symbol))
+ (t
+ (user-error "Not bound: %S" symbol))))
;;;###autoload
(defun helpful-variable (symbol)