Richard Stallman wrote:
> When apropos-command is displaying the keybindings associated with a
> command, it often runs past the edge of the screen (esp. when displaying
> M-x COMMAND RET) This makes the output very difficult to read.
>
> How about this change instead?
>
>
> *** apropos.el 12 Feb 2005 03:38:01 -0500 1.101
> --- apropos.el 22 Feb 2005 04:59:34 -0500
> ***************
> *** 860,872 ****
> key))
> key)
> item ", "))
> ! (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)
> (apropos-print-doc 2
> (if (commandp symbol)
> --- 860,866 ----
> key))
> key)
> item ", "))
> ! (insert "(invoke using M-x)")))
> (terpri)
> (apropos-print-doc 2
> (if (commandp symbol)


(insert (substitute-command-keys
         "(invoke using \\[execute-extended-command])"))

:-)

--
Kevin Rodgers



_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to