help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Evaluation of hooks


From: Cameron Desautels
Subject: Re: Evaluation of hooks
Date: Mon, 26 Dec 2005 16:32:35 -0600
User-agent: Mutt/1.5.10i

On Mon, Dec 26, 2005 at 10:07:16PM +0000, Sebastian Tennant wrote:
> Adding the following line before the (when ...) condition fixes this and the
> hook is now functioning perfectly.
> 
>   (unless (not (buffer-file-name))
>     ...)

I suppose this is a bit nit-picky, but you may as well make it

  (if (buffer-file-name)
    ...)

instead of using both ``unless'' and ``not''.
-- 
Cameron Desautels <cam@apt2324.com>


Someday, we'll look back on this, laugh nervously, and change the
subject.




reply via email to

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