aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md2
-rw-r--r--helpful.el3
2 files changed, 2 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 848d905..85b3b46 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
# v0.15 (unreleased)
-No changes yet.
+Fixed a crash on formatting values.
# v0.14
diff --git a/helpful.el b/helpful.el
index 9715c81..71df518 100644
--- a/helpful.el
+++ b/helpful.el
@@ -1910,8 +1910,7 @@ state of the current symbol."
(consp val))
(helpful--format-hook val))
(t
- (error "don't know how to format value of type %s"
- (type-of val))))
+ (helpful--pretty-print val)))
"\n\n")
(when multiple-views-p
(insert (helpful--make-toggle-literal-button) " "))