[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hijack C function, use it transparently with in-between layer
From: |
Marcin Borkowski |
Subject: |
Re: hijack C function, use it transparently with in-between layer |
Date: |
Mon, 06 Jun 2016 05:46:37 +0200 |
User-agent: |
mu4e 0.9.16; emacs 25.1.50.3 |
On 2016-06-06, at 05:28, Emanuel Berg <embe8573@student.uu.se> wrote:
> The truth is down there!
>
> (defvar old-message)
> (fset 'old-message (symbol-function #'message))
>
> (defun message (format-string &rest args)
> (unless (member format-string
> '(
> "It was just another system of control."
> "Mark set"
> ))
> (apply `(old-message ,format-string ,@args) )))
Smart! Tho not what I'd call "good style". ;-)
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
- hijack C function, use it transparently with in-between layer, Emanuel Berg, 2016/06/05
- Re: hijack C function, use it transparently with in-between layer,
Marcin Borkowski <=
- Re: hijack C function, use it transparently with in-between layer, Barry Margolin, 2016/06/06
- Re: hijack C function, use it transparently with in-between layer, Emanuel Berg, 2016/06/06
- Re: hijack C function, use it transparently with in-between layer, Phillip Lord, 2016/06/06
- Message not available
- Re: hijack C function, use it transparently with in-between layer, Emanuel Berg, 2016/06/06
- Re: hijack C function, use it transparently with in-between layer, Stefan Monnier, 2016/06/06
- Message not available
- Re: hijack C function, use it transparently with in-between layer, Emanuel Berg, 2016/06/06
- Re: hijack C function, use it transparently with in-between layer, Stefan Monnier, 2016/06/06
- Message not available
- Re: hijack C function, use it transparently with in-between layer, Barry Margolin, 2016/06/06
- Re: hijack C function, use it transparently with in-between layer, Stefan Monnier, 2016/06/06
- Re: hijack C function, use it transparently with in-between layer, Emanuel Berg, 2016/06/06