fixup! core-jump: fixed a typo

This commit prevents the error when `handler` is atomic instead of a list.
This commit is contained in:
Lucius Hu 2022-02-14 21:49:20 -05:00
parent db15a2d5a0
commit f2afab0c32
No known key found for this signature in database
GPG Key ID: 7E474E82E29B5A7A
1 changed files with 1 additions and 1 deletions

View File

@ -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)