From c3d0fe180e84760ac908a1567536a86fbd337a9b Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 6 Oct 1998 23:30:31 +0000 Subject: [PATCH] (apropos-print): control invalid characters. --- lisp/apropos.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/apropos.el b/lisp/apropos.el index 98a15923e8..b391e5157b 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -558,7 +558,9 @@ alphabetically by symbol name; but this function also sets (insert (mapconcat (lambda (key) - (setq key (key-description key)) + (setq key (condition-case () + (key-description key) + (error))) (if apropos-keybinding-face (put-text-property 0 (length key) 'face apropos-keybinding-face -- 2.20.1