Commit 520a6e4a authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.

parent 15826261
2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
* net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2013-11-05 Michael Albinus <michael.albinus@gmx.de>
Fix problems found while writing a test suite.
......@@ -15,13 +19,12 @@
2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
* progmodes/python.el (python-mode): Remove incorrect text from docstring.
* progmodes/scheme.el (scheme-mode): Remove incorrect text from docstring.
* progmodes/prolog.el (prolog-mode): Remove incorrect text from docstring.
* emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode, emacs-lisp-mode):
Remove incorrect text from docstring.
* progmodes/ruby-mode.el (ruby-mode): Remove incorrect text from docstring.
* progmodes/python.el (python-mode):
* progmodes/scheme.el (scheme-mode):
* progmodes/prolog.el (prolog-mode):
* progmodes/ruby-mode.el (ruby-mode):
* emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
(emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
......
......@@ -1950,7 +1950,8 @@ activity. Only run if the buffer is not visible and
(old-types rcirc-activity-types))
(when (not (get-buffer-window (current-buffer) t))
(setq rcirc-activity
(sort (add-to-list 'rcirc-activity (current-buffer))
(sort (if (memq (current-buffer) rcirc-activity) rcirc-activity
(cons (current-buffer) rcirc-activity))
(lambda (b1 b2)
(let ((t1 (with-current-buffer b1 rcirc-last-post-time))
(t2 (with-current-buffer b2 rcirc-last-post-time)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment