|
From: | Drew Adams |
Subject: | RE: Is there way to read function invoked and its parameters? |
Date: | Sun, 27 Dec 2020 10:20:30 -0800 (PST) |
> Would this concept be possible in Emacs Lisp: > > (defun my-function (arg &optional arg-1 arg-2) > (call-other-function (this-function-called parameters-to-this-function))) > > Then the other function would receive something like > > (my-function ARGUMENTS) Reading quickly, so perhaps not understanding the request. But I'm guessing that advice is what you're looking for. (elisp) `Advising Functions' https://www.gnu.org/software/emacs/manual/html_node/elisp/Advising-Functions.html
[Prev in Thread] | Current Thread | [Next in Thread] |