From: Narendra Joshi Date: Thu, 25 Nov 2021 07:58:53 +0000 (+0200) Subject: * lisp/repeat.el (repeat-post-hook): Add check symbolp rep-map. X-Git-Tag: emacs-28.0.90~39 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=588caf0b274e763bab0ac511f2cb95750e83f7f6;p=emacs.git * lisp/repeat.el (repeat-post-hook): Add check symbolp rep-map. Copyright-paperwork-exempt: yes --- 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)))