From 8610bd16e92c1a8639206847bd8c6ea523727cd5 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 13 Oct 2015 09:48:16 -0400 Subject: [PATCH] * lisp/mpc.el (mpc-songs-refresh): Don't side-effect `active' ... since it might come straight from the memoizing table. --- lisp/mpc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mpc.el b/lisp/mpc.el index a5fc376eaea..21002ec5081 100644 --- a/lisp/mpc.el +++ b/lisp/mpc.el @@ -1960,7 +1960,7 @@ This is used so that they can be compared with `eq', which is needed for ;; I punt on it and just use file-name sorting, which does the ;; right thing if your library is properly arranged. (dolist (song (if dontsort active - (sort active + (sort (copy-sequence active) (lambda (song1 song2) (let ((cmp (mpc-compare-strings (cdr (assq 'file song1)) -- 2.11.4.GIT