[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: debug-on-entry question
From: |
David Kastrup |
Subject: |
Re: debug-on-entry question |
Date: |
Sat, 18 Jun 2005 13:23:39 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Yoni Rabkin Katzenell <address@hidden> writes:
> Is there an existing function which performs the following?
>
> (defun debug-on-entry-at-point ()
> "Perform \\[debug-on-entry] on the function at point."
> (let ((fn (function-called-at-point)))
> (if fn
> (debug-on-entry fn)
> (message "No function at point"))))
Usually
M-x edebug-defun RET
is much more useful.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum