[Top][All Lists]

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

Re: Trying coccinelle

From: martin rudalics
Subject: Re: Trying coccinelle
Date: Fri, 22 Jun 2012 12:22:52 +0200

> Here is another cleanup of some buffer-related
> code designed with the help from this nice tool.

I'd prefer a function `Fbuffer_normalize' with one argument

- if it's nil return the current buffer,

- if it's a string return the live buffer with that name,

- if it's a buffer return it if it's live,

- raise an error otherwise,

used wherever a buffer-like objects appears as an argument.


reply via email to

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