emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying coccinelle


From: Miles Bader
Subject: Re: Trying coccinelle
Date: Fri, 22 Jun 2012 15:40:49 +0900

Dmitry Antipov <address@hidden> writes:
> -  struct buffer *buf = current_buffer;
> +  struct buffer *buf = buffer_or_current (buffer);
>    struct buffer *old = buf;
>
> -  if (! NILP (buffer))
> -    {
> -      CHECK_BUFFER (buffer);
> -      buf = XBUFFER (buffer);
> -    }
> -

The new code is not equivalent when BUFFER isn't nil or the current
buffer...

-miles

-- 
I'm beginning to think that life is just one long Yoko Ono album; no rhyme
or reason, just a lot of incoherent shrieks and then it's over.  --Ian Wolff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]