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

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

Re: How can function know its own name?


From: Jean Louis
Subject: Re: How can function know its own name?
Date: Sun, 26 Jun 2022 13:13:33 +0300
User-agent: Mutt/+ () (2022-05-21)

* Stefan Monnier via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org> [2022-06-26 11:56]:
> > I would like to invoke logging for specific functions automatically,
> > without specifying what to log, and my function should know which
> > function invoked it.
> 
> `C-h o trace-function RET`

Interactively, that gives information.

Though within function I would not be able to automaticaly read which
function was invoked. If that is what you mean.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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