aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2018-01-07 15:13:14 +0000
committerWilfred Hughes <me@wilfred.me.uk>2018-01-07 15:13:14 +0000
commitd668714a84166609bedd92f061b8e913cde902ac (patch)
tree1d6245d7dfd729c372240a4dd19f71742c137120
parent1c8ce4380859644f3633ed04983f40128838a248 (diff)
Error on unbound symbols
-rw-r--r--helpful.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/helpful.el b/helpful.el
index 0d827c6..cb3476f 100644
--- 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)