all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#35250: Add simplest Advice example possible first
@ 2019-04-12 15:19 積丹尼 Dan Jacobson
  2019-07-09 15:06 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-04-12 15:19 UTC (permalink / raw)
  To: 35250

(info "(elisp) Advising Functions") starts out with a complicated
example.

        For example, in order to trace the calls to the process filter of a
     process PROC, you could use:

          (defun my-tracing-function (proc string)
            (message "Proc %S received %S" proc string))

          (add-function :before (process-filter PROC) #'my-tracing-function)

Please first add the simplest example possible:

Function A prints "a".

Make it print "ab" from now on.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-09 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-12 15:19 bug#35250: Add simplest Advice example possible first 積丹尼 Dan Jacobson
2019-07-09 15:06 ` Lars Ingebrigtsen

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.