1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-31 04:41:23 -08:00

* lisp/repeat.el (repeat-post-hook): Add check symbolp rep-map.

Copyright-paperwork-exempt: yes
This commit is contained in:
Narendra Joshi 2021-11-25 09:58:53 +02:00 committed by Juri Linkov
parent 0854453ec2
commit 588caf0b27

View file

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