Skip to content

Commit

Permalink
Handle additional errors
Browse files Browse the repository at this point in the history
NOTE: This is part of Wilfred#217
  • Loading branch information
CeleritasCelery authored and slotThe committed Oct 5, 2023
1 parent 3e7b55e commit 6d431f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpful.el
Original file line number Diff line number Diff line change
Expand Up @@ -1197,8 +1197,8 @@ hooks.")
"Return a propertized version of SOURCE in MODE."
(unless mode
(when helpful-hide-docstring-in-source
(let ((doc-string (nth 3 (ignore-errors
(read source)))))
(let ((doc-string (ignore-errors
(nth 3 (read source)))))
(when (stringp doc-string)
(setq source
(replace-regexp-in-string
Expand Down

0 comments on commit 6d431f1

Please sign in to comment.