[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 312/352: Use COPY-SEQUENCE instead of COPY-TREE
From: |
Stefan Monnier |
Subject: |
[elpa] 312/352: Use COPY-SEQUENCE instead of COPY-TREE |
Date: |
Mon, 07 Jul 2014 14:05:20 +0000 |
monnier pushed a commit to branch master
in repository elpa.
commit 48ae1207243bb6006d3ddce82659b2b2608818c5
Author: Teemu Likonen <address@hidden>
Date: Fri Mar 2 08:25:51 2012 +0200
Use COPY-SEQUENCE instead of COPY-TREE
It was always unnecessary to copy the whole tree before SORT function.
---
wcheck-mode.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/wcheck-mode.el b/wcheck-mode.el
index 690fb31..1904848 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -2080,7 +2080,7 @@ ALIST is a list of (A . B) items in which A and B are
integers.
Each item denote a buffer position range from A to B. This
function returns a new list which has items in increasing order
according to A's and all overlapping A B ranges are combined."
- (let ((alist (sort (copy-tree alist)
+ (let ((alist (sort (copy-sequence alist)
(lambda (a b)
(< (car a) (car b)))))
final previous)
- [elpa] 302/352: Clarify that wcheck-mode is a minor mode, (continued)
- [elpa] 302/352: Clarify that wcheck-mode is a minor mode, Stefan Monnier, 2014/07/07
- [elpa] 119/352: Pienennetään wcheck-moden reagointiviivettä 0,4 sekuntiin, Stefan Monnier, 2014/07/07
- [elpa] 305/352: Don't mention "Aspell" in the documentation, Stefan Monnier, 2014/07/07
- [elpa] 214/352: Lisää virheenkäsittely condition-case-rakenteella, Stefan Monnier, 2014/07/07
- [elpa] 301/352: Add (regexp-discard . "") to email detect example, Stefan Monnier, 2014/07/07
- [elpa] 149/352: Kielellistä hienosäätöä funktioiden kuvauksissa, Stefan Monnier, 2014/07/07
- [elpa] 158/352: Uusi ominaisuus: korjausehdotukset väärinkirjoitetuille sanoille, Stefan Monnier, 2014/07/07
- [elpa] 161/352: Muutetaan jäsenninfunktion nimi: wcheck-parse-suggestions-lines, Stefan Monnier, 2014/07/07
- [elpa] 144/352: Muutetaan ulkoisen ohjelman argumentit listaksi, Stefan Monnier, 2014/07/07
- [elpa] 162/352: Hiotaan dokumentteja ja merkkijonoja, Stefan Monnier, 2014/07/07
- [elpa] 312/352: Use COPY-SEQUENCE instead of COPY-TREE,
Stefan Monnier <=
- [elpa] 308/352: Fix a small typo in README, Stefan Monnier, 2014/07/07
- [elpa] 318/352: Update copyright year in README, Stefan Monnier, 2014/07/07
- [elpa] 273/352: More accurate description for OPERATION-MODE of read-or-skip-faces, Stefan Monnier, 2014/07/07
- [elpa] 274/352: Minor rephrasing in README, Stefan Monnier, 2014/07/07
- [elpa] 292/352: Change README to README.org in a doc string, Stefan Monnier, 2014/07/07
- [elpa] 257/352: Use plural "actions" with the install instruction's autoload, Stefan Monnier, 2014/07/07
- [elpa] 314/352: Add variable and interactive function wcheck-version, Stefan Monnier, 2014/07/07
- [elpa] 160/352: Hiotaan tekstipohjaista oikolukuehdotusvalikkoa, Stefan Monnier, 2014/07/07
- [elpa] 267/352: Rephrase examples, Stefan Monnier, 2014/07/07
- [elpa] 345/352: Use prefix wcheck-- in internal functions and variables, Stefan Monnier, 2014/07/07