From: Elena <egarrulo@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Advising a non-interactive function?
Date: Mon, 31 Aug 2009 13:53:11 -0700 (PDT) [thread overview]
Message-ID: <0e1cafd0-6c44-4b6f-b820-7c968a957d32@g23g2000vbr.googlegroups.com> (raw)
In-Reply-To: slrnh9o5qf.c4s.joostkremers@j.kremers4.news.arnhem.chello.nl
On 31 Ago, 20:33, Joost Kremers <joostkrem...@yahoo.com> wrote:
> what makes you think that a non-interactive function cannot be defadvice'd?
According to the docs, every function can be advised, but I've never
seen an example showing how to advise a function which took arguments
not available by a call to 'interactive'. For instance, how would you
define a 'before advice' to 'define-key', whose prototype is this:
(define-key keymap key def)
Thanks.
next prev parent reply other threads:[~2009-08-31 20:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-31 16:08 Advising a non-interactive function? Elena
2009-08-31 18:33 ` Joost Kremers
2009-08-31 20:53 ` Elena [this message]
2009-08-31 22:02 ` Andreas Politz
2009-08-31 20:26 ` Barry Margolin
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=0e1cafd0-6c44-4b6f-b820-7c968a957d32@g23g2000vbr.googlegroups.com \
--to=egarrulo@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.