From f2afab0c32c1dfb8e2bfd3d1c4c84c8db5a68c4b Mon Sep 17 00:00:00 2001 From: Lucius Hu Date: Mon, 14 Feb 2022 21:49:20 -0500 Subject: [PATCH] fixup! core-jump: fixed a typo This commit prevents the error when `handler` is atomic instead of a list. --- core/core-jump.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-jump.el b/core/core-jump.el index 3ec8e3922..42cdd392a 100644 --- a/core/core-jump.el +++ b/core/core-jump.el @@ -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)