xwem-devel
[Top] [All Lists]

Re: bug in xwem-manage.el

From: Zajcev Evgeny <lg@xxxxxxxx>
Subject: Re: bug in xwem-manage.el
Date: Mon, 06 Dec 2004 01:52:08 +0300
Cc: xwem-devel@xxxxxxxx
Organization: xwem.org
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Security Through Obscurity, berkeley-unix)
Richard Klinda <ignotus@xxxxxxxxxxx> writes:

> Hello,
>
> I found a little bug in the function XWEM-CL-MATCH-P (xwem-manage.el);
> the "buffer-filename" type is handled by the following code:
>
> ,----[ 320. line ]-
> | ((eq type 'buffer-filename)
> |  (string-match param (buffer-file-name))))))))
> `----
>
> If a buffer doesn't have a filename (like *scratch* etc) then it signals
> an error, so please change that to:
>
> ,----
> | ((eq type 'buffer-filename)
> |  (and (buffer-file-name)
> |       (string-match param (buffer-file-name)))))))))
> `----

Great!  Also, anytime someone fixes any file and does not observes his
name in Author header - add yourself please :)

> Ps: Lg, JackalX, you haven't been to IRC today, what's going on? :)

As to mee, i was tottaly slaved by wife this weekend :(

-- 
XWEM - Take the best and make it better.

<Prev in Thread] Current Thread [Next in Thread>