diff options
| author | Stefan Monnier | 2013-11-05 09:32:01 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-11-05 09:32:01 -0500 |
| commit | 520a6e4a5fd6b8275c8b6948ffb29de362054b82 (patch) | |
| tree | 5d76f759a5a8d41c97c2a2919ce7727de8484dce | |
| parent | 158262615caff45976d334f79ff066d565682f1a (diff) | |
| download | emacs-520a6e4a5fd6b8275c8b6948ffb29de362054b82.tar.gz emacs-520a6e4a5fd6b8275c8b6948ffb29de362054b82.zip | |
* lisp/net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
| -rw-r--r-- | lisp/ChangeLog | 17 | ||||
| -rw-r--r-- | lisp/net/rcirc.el | 3 |
2 files changed, 12 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 10dbbf92b84..cd8342fdb49 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list. | ||
| 4 | |||
| 1 | 2013-11-05 Michael Albinus <michael.albinus@gmx.de> | 5 | 2013-11-05 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 6 | ||
| 3 | Fix problems found while writing a test suite. | 7 | Fix problems found while writing a test suite. |
| @@ -15,13 +19,12 @@ | |||
| 15 | 19 | ||
| 16 | 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com> | 20 | 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com> |
| 17 | 21 | ||
| 18 | * progmodes/python.el (python-mode): Remove incorrect text from docstring. | 22 | * progmodes/python.el (python-mode): |
| 19 | * progmodes/scheme.el (scheme-mode): Remove incorrect text from docstring. | 23 | * progmodes/scheme.el (scheme-mode): |
| 20 | * progmodes/prolog.el (prolog-mode): Remove incorrect text from docstring. | 24 | * progmodes/prolog.el (prolog-mode): |
| 21 | * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode, emacs-lisp-mode): | 25 | * progmodes/ruby-mode.el (ruby-mode): |
| 22 | Remove incorrect text from docstring. | 26 | * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode) |
| 23 | 27 | (emacs-lisp-mode): Remove incorrect and redundant text from docstring. | |
| 24 | * progmodes/ruby-mode.el (ruby-mode): Remove incorrect text from docstring. | ||
| 25 | 28 | ||
| 26 | 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca> | 29 | 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca> |
| 27 | 30 | ||
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 2d8da415295..f7d43989868 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -1950,7 +1950,8 @@ activity. Only run if the buffer is not visible and | |||
| 1950 | (old-types rcirc-activity-types)) | 1950 | (old-types rcirc-activity-types)) |
| 1951 | (when (not (get-buffer-window (current-buffer) t)) | 1951 | (when (not (get-buffer-window (current-buffer) t)) |
| 1952 | (setq rcirc-activity | 1952 | (setq rcirc-activity |
| 1953 | (sort (add-to-list 'rcirc-activity (current-buffer)) | 1953 | (sort (if (memq (current-buffer) rcirc-activity) rcirc-activity |
| 1954 | (cons (current-buffer) rcirc-activity)) | ||
| 1954 | (lambda (b1 b2) | 1955 | (lambda (b1 b2) |
| 1955 | (let ((t1 (with-current-buffer b1 rcirc-last-post-time)) | 1956 | (let ((t1 (with-current-buffer b1 rcirc-last-post-time)) |
| 1956 | (t2 (with-current-buffer b2 rcirc-last-post-time))) | 1957 | (t2 (with-current-buffer b2 rcirc-last-post-time))) |