Skip to content

Commit

Permalink
fixup! core-jump: fixed a typo
Browse files Browse the repository at this point in the history
This commit prevents the error when `handler` is atomic instead of a list.
  • Loading branch information
lebensterben committed Feb 15, 2022
1 parent db15a2d commit f2afab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/core-jump.el
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ They are in order: `spacemacs-jump-handlers',
(old-point (point)))
(dolist (-handler (spacemacs//get-jump-handlers))
(let* ((handler (if (listp -handler) (car -handler) -handler))
(async (plist-get (cdr handler) :async)))
(async (plist-get (cdr-safe handler) :async)))
(ignore-errors
(call-interactively handler))
(when (or (eq async t)
Expand Down

0 comments on commit f2afab0

Please sign in to comment.