From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: Advising a non-interactive function? Date: Mon, 31 Aug 2009 16:26:18 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1251751253 13850 80.91.229.12 (31 Aug 2009 20:40:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Aug 2009 20:40:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 31 22:40:46 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MiDgE-0007h4-30 for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 22:40:46 +0200 Original-Received: from localhost ([127.0.0.1]:32965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiDgD-0006M1-Dm for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 16:40:45 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!feeder.eternal-september.org!eternal-september.org!news.eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-X-Trace: news.eternal-september.org U2FsdGVkX19G1dTGhnkJwIf2iXrzXCxznFavIPSUKo+Bh5RLH0JzPdXoT3odcMcFUJXFvQheEH4li5rCQ12Ri27G/Upu2rhTvkWQCalZirLy7s7Ivvyx01V/E941jIeLW9l/WU54SC8= Original-X-Complaints-To: abuse@eternal-september.org Original-NNTP-Posting-Date: Mon, 31 Aug 2009 20:26:19 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1+DKBTthmmxXIXKEw1s/9ugcuEp1qlV0R4= Cancel-Lock: sha1:v6D3SD0BC6EkQdGeW/Ps0NGHZU8= User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Mail-Copies-To: nobody Original-Xref: news.stanford.edu gnu.emacs.help:172551 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67692 Archived-At: In article , Elena wrote: > Hello, > > can you advise a function which takes arguments not available via > "interactive" (for instance: 'define-key')? How would the 'defadvice' > look? There's nothing about advice that's specific to interactive functions. The advice would look the same. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group ***