# HG changeset patch # User Richard M. Stallman # Date 831171049 0 # Node ID b22de331ee43d06ca98fbca7a66acb059adeb892 # Parent e8ceba484a94f7fc7bcd065a4ea0c7129962f816 (apropos-print): If command has no key bindings, say how to run it with M-x. diff -r e8ceba484a94 -r b22de331ee43 lisp/apropos.el --- a/lisp/apropos.el Fri May 03 21:48:07 1996 +0000 +++ b/lisp/apropos.el Sat May 04 00:50:49 1996 +0000 @@ -493,7 +493,14 @@ key)) key) item ", ")) - (insert "(not bound to any keys)"))) + (insert "Type ") + (insert "M-x") + (put-text-property (- (point) 3) (point) + 'face apropos-keybinding-face) + (insert " " (symbol-name symbol) " ") + (insert "RET") + (put-text-property (- (point) 3) (point) + 'face apropos-keybinding-face))) (terpri) ;; only now so we don't propagate text attributes all over (put-text-property point1 point2 'item