aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2021-04-14 23:05:43 +0300
committerJuri Linkov2021-04-14 23:05:43 +0300
commit4ddad8f1db1f888f3365ac1330989dfbee605dd5 (patch)
tree57c3247eece9a5a8745f661c1ec2d5713eaf2d79
parent57347554a13de87eb519cbe49ce718b4bb929d91 (diff)
downloademacs-4ddad8f1db1f888f3365ac1330989dfbee605dd5.tar.gz
emacs-4ddad8f1db1f888f3365ac1330989dfbee605dd5.zip
repeat-echo-mode-line-string doesn't need risky-local-variable to keep props
(bug#47566)
-rw-r--r--lisp/repeat.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/repeat.el b/lisp/repeat.el
index 2875616b5d8..b7118cc7f95 100644
--- a/lisp/repeat.el
+++ b/lisp/repeat.el
@@ -450,8 +450,6 @@ When Repeat mode is enabled, and the command symbol has the property named
450(defvar repeat-echo-mode-line-string 450(defvar repeat-echo-mode-line-string
451 (propertize "[Repeating...] " 'face 'mode-line-emphasis) 451 (propertize "[Repeating...] " 'face 'mode-line-emphasis)
452 "String displayed in the mode line in repeating mode.") 452 "String displayed in the mode line in repeating mode.")
453;;;###autoload
454(put 'mode-line-defining-kbd-macro 'risky-local-variable t)
455 453
456(defun repeat-echo-mode-line (map) 454(defun repeat-echo-mode-line (map)
457 "Display the repeat indicator in the mode line." 455 "Display the repeat indicator in the mode line."