bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: describe-function: also tell about key bindings


From: Kevin Rodgers
Subject: Re: describe-function: also tell about key bindings
Date: Mon, 11 Jun 2001 16:32:15 -0600

Dan Jacobson wrote:
> Would it be too inelegant to inform the user if there are any keys
> bound for a function when doing describe-function?
> 
> I mean if one does
> (describe-function (quote kill-rectangle))
> one learns lots of stuff, but perhaps for the most important item,
> 
> kill-rectangle is on C-x r k
> 
> one must remember to also check with C-h w.

That's why I do this:

(defadvice describe-function (after where-is activate)
  "Call `\\[where-is] FUNCTION'."
  (where-is (ad-get-arg 0)))

-- 
Kevin Rodgers <kevinr@ihs.com>          Lead Software Engineer
Information Handling Services           Electronic Systems Development
15 Inverness Way East, M/S A114         GO BUFFS!
Englewood CO 80112-5776 USA             1+ (303) 397-2807[voice]/705-4258[fax]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]