[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rcirc bug
From: |
Alfred M. Szmidt |
Subject: |
Re: rcirc bug |
Date: |
Tue, 5 Sep 2006 23:37:20 +0200 (CEST) |
> rcirc tries to use member* without (require 'cl), which causes
> breakage.
The following patch fixes this:
I don't think it will fix the problem in full; pushnew is also a 'cl
macro. Maybe just changing pushnew to add-to-list would work? I
don't know if there are more 'cl-isms in rcirc...
(defun rcirc-record-activity (buffer &optional type)
"Record BUFFER activity with TYPE."
(with-current-buffer buffer
(when (not (get-buffer-window (current-buffer) t))
(setq rcirc-activity
(sort (add-to-list 'rcirc-activity (current-buffer))
(lambda (b1 b2)
(let ((t1 (with-current-buffer b1 rcirc-last-post-time))
(t2 (with-current-buffer b2 rcirc-last-post-time)))
(time-less-p t2 t1)))))
(pushnew type rcirc-activity-types)
(rcirc-update-activity-string)))
(run-hook-with-args 'rcirc-activity-hooks buffer))
- rcirc bug, Alfred M. Szmidt, 2006/09/04
- Re: rcirc bug, Richard Stallman, 2006/09/05
- Re: rcirc bug, Ryan Yeske, 2006/09/05
- Re: rcirc bug,
Alfred M. Szmidt <=
- Re: rcirc bug, Ryan Yeske, 2006/09/07
- Re: rcirc bug, Richard Stallman, 2006/09/08
- RE: rcirc bug, Drew Adams, 2006/09/08
- Re: rcirc bug, Chong Yidong, 2006/09/10
- Re: rcirc bug, Stuart D. Herring, 2006/09/11
- Re: rcirc bug, Richard Stallman, 2006/09/11
Re: rcirc bug, Magnus Henoch, 2006/09/05