Commit c3d0fe18 authored by Karl Heuer's avatar Karl Heuer
Browse files

(apropos-print): control invalid characters.

parent 64e6dfad
...@@ -558,7 +558,9 @@ alphabetically by symbol name; but this function also sets ...@@ -558,7 +558,9 @@ alphabetically by symbol name; but this function also sets
(insert (insert
(mapconcat (mapconcat
(lambda (key) (lambda (key)
(setq key (key-description key)) (setq key (condition-case ()
(key-description key)
(error)))
(if apropos-keybinding-face (if apropos-keybinding-face
(put-text-property 0 (length key) (put-text-property 0 (length key)
'face apropos-keybinding-face 'face apropos-keybinding-face
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment