From: Kevin Rodgers <kevin.rodgers@ihs.com>
Subject: how to determine the current function?
Date: Thu, 13 Feb 2003 16:14:10 -0700 [thread overview]
Message-ID: <3E4C26C2.4030003@ihs.com> (raw)
I could probably find out how to do this by looking into the implementation of
the Emacs Lisp debuggers (debug.el and edebug.el), but I thought I'd be lazy and
ask the experts here first.
I want to know whether I can distinguish between calls to 2 functions defined
like this:
(defun foo () ...)
(fset 'bar 'foo)
within a piece of advice:
(defadvice foo (after ...)
;; How can I determine whether called as foo or as bar?
...)
Thanks,
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
next reply other threads:[~2003-02-13 23:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-13 23:14 Kevin Rodgers [this message]
2003-02-14 15:45 ` how to determine the current function? Stefan Monnier <foo@acm.com>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E4C26C2.4030003@ihs.com \
--to=kevin.rodgers@ihs.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.