From 588caf0b274e763bab0ac511f2cb95750e83f7f6 Mon Sep 17 00:00:00 2001 From: Narendra Joshi Date: Thu, 25 Nov 2021 09:58:53 +0200 Subject: [PATCH] * lisp/repeat.el (repeat-post-hook): Add check symbolp rep-map. Copyright-paperwork-exempt: yes --- lisp/repeat.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/repeat.el b/lisp/repeat.el index 4dcd353e346..32ffb1884f3 100644 --- a/lisp/repeat.el +++ b/lisp/repeat.el @@ -416,7 +416,7 @@ See `describe-repeat-maps' for a list of all repeatable commands." (and (symbolp real-this-command) (get real-this-command 'repeat-map))))) (when rep-map - (when (boundp rep-map) + (when (and (symbolp rep-map) (boundp rep-map)) (setq rep-map (symbol-value rep-map))) (let ((map (copy-keymap rep-map))) -- 2.39.2