]> git.eshelyaron.com Git - emacs.git/commitdiff
repeat-echo-mode-line-string doesn't need risky-local-variable to keep props
authorJuri Linkov <juri@linkov.net>
Wed, 14 Apr 2021 20:05:43 +0000 (23:05 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 14 Apr 2021 20:05:43 +0000 (23:05 +0300)
(bug#47566)

lisp/repeat.el

index 2875616b5d8c52ca5bd7af08d2bb4ac8acf6b03d..b7118cc7f95f9317df5cbe41c895f4c3617e2f05 100644 (file)
@@ -450,8 +450,6 @@ When Repeat mode is enabled, and the command symbol has the property named
 (defvar repeat-echo-mode-line-string
   (propertize "[Repeating...] " 'face 'mode-line-emphasis)
   "String displayed in the mode line in repeating mode.")
-;;;###autoload
-(put 'mode-line-defining-kbd-macro 'risky-local-variable t)
 
 (defun repeat-echo-mode-line (map)
   "Display the repeat indicator in the mode line."