branch: externals/bug-hunter
commit bc623c2da1bf8d84bf88ddc1aaf93e1020d32344
Author: Artur Malabarba <[email protected]>
Commit: Artur Malabarba <[email protected]>
[Fix #16] Improve the error message when emacs -Q fails
---
bug-hunter.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/bug-hunter.el b/bug-hunter.el
index d6de15d..9a29f2f 100644
--- a/bug-hunter.el
+++ b/bug-hunter.el
@@ -4,7 +4,7 @@
;; Author: Artur Malabarba <[email protected]>
;; URL: https://github.com/Malabarba/elisp-bug-hunter
-;; Version: 1.2
+;; Version: 1.3
;; Keywords: lisp
;; Package-Requires: ((seq "1.3") (cl-lib "0.5"))
@@ -431,9 +431,11 @@ link for some examples:
(if assertion
(concat "Assertion returned non-nil even on emacs -Q:"
bug-hunter--assertion-reminder)
- "Detected a signaled error even on emacs -Q. I'm sorry, but there
-is something seriously wrong with your Emacs installation.
-There's nothing more I can do here.")
+ "Detected a signaled error even on emacs -Q. This could mean three
+things things:
+1. The problem happens inside `package-initialize'.
+2. You wrote the assertion wrong.
+3. There's something seriously wrong with your Emacs installation.")
(or assertion "")))
(t