diff options
| author | Dario Gjorgjevski <dario.gjorgjevski+git@gmail.com> | 2021-02-02 17:54:44 +0100 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2021-03-19 01:02:58 -0700 |
| commit | 7e4b1f0d5572a4e2b8ee7a9b084ef863d0315a73 (patch) | |
| tree | 68bdf56b7f046197fbc3b0f9b52bac14d58ecf56 /CHANGELOG.md | |
| parent | 716c116d6a9fafb16a5b1e6be5dbd8e82f357c7e (diff) | |
Prevent error in helpful-variable if sexp at point can't be read
How to reproduce from emacs -Q in the *scratch* buffer:
0. If needed, do `(package-initialize)` and `(require 'helpful)`.
1. Type `(something some-undefined-variable|` where | represents
point. (Note that there is no closing parenthesis!)
2. Call helpful-variable.
This will give you an `End of file during parsing` from
`helpful--variable-defined-at-point` because the sexp at point can't
be read due to the missing parenthesis. This commit suppresses the
error
Fix #251
Close #254
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c66a7b..5c0d1d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ been loaded by the autoloader (#179, #191). Fixed issue with displaying circular data structures. +Fixed a crash in `helpful-variable` in files that weren't +syntactically valid lisp. + # v0.18 Show the original value for custom variables whose value has changed. |
