Skip to content

Commit

Permalink
fix: char error
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Feb 7, 2025
1 parent afce305 commit 86637e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sideline-load-cost.el
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ Optional argument EXT is use to drop-in replace the current extension."
(when (search-forward op bol t)
(forward-word 1)
(when-let* (((<= (point) bol))
(thing (or (thing-at-point 'string)
(thing-at-point 'symbol)))
(thing (or (ignore-errors (thing-at-point 'string))
(ignore-errors (thing-at-point 'symbol))))
(thing (if (stringp thing)
(sideline--s-replace "\"" "" thing)
thing))
Expand Down

0 comments on commit 86637e5

Please sign in to comment.