changeset 23386:ac8f85b1733c

(apropos-print): control invalid characters.
author Karl Heuer <kwzh@gnu.org>
date Tue, 06 Oct 1998 23:30:31 +0000
parents 95773b2746b4
children 842d6539989b
files lisp/apropos.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/apropos.el	Tue Oct 06 23:27:28 1998 +0000
+++ b/lisp/apropos.el	Tue Oct 06 23:30:31 1998 +0000
@@ -558,7 +558,9 @@
 		   (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