xwem-devel
[Top] [All Lists]

bug in xwem-manage.el

From: Richard Klinda <ignotus@xxxxxxxxxxx>
Subject: bug in xwem-manage.el
Date: Sun, 05 Dec 2004 21:37:37 +0100
Organization: Are we THERE yet??
Sender: ignotus@xxxxxxxxxxx
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux)
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)))))))))
`----

Thanks!

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

-- 
Richard Klinda

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