[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 350/352: Use PUSH instead of ADD-TO-LIST
From: |
Stefan Monnier |
Subject: |
[elpa] 350/352: Use PUSH instead of ADD-TO-LIST |
Date: |
Mon, 07 Jul 2014 14:05:51 +0000 |
monnier pushed a commit to branch master
in repository elpa.
commit 0a96c76ffe0b97367f2bcc7d02e049138e7c3da1
Author: Teemu Likonen <address@hidden>
Date: Sat Jun 21 19:59:51 2014 +0300
Use PUSH instead of ADD-TO-LIST
Duplicates are removed later.
---
wcheck-mode.el | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/wcheck-mode.el b/wcheck-mode.el
index 560da50..dd38361 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -1422,10 +1422,9 @@ areas, including invisible ones. Otherwise skip
invisible text."
regexp-discard
(match-string-no-properties 1)))))
;; Add the match to the string list.
- (add-to-list
- 'strings (match-string-no-properties 1))))
+ (push (match-string-no-properties 1) strings)))
(setq old-point (point)))))
- strings))))))
+ (delete-dups strings)))))))
(defun wcheck--paint-strings (buffer beg end strings &optional invisible)
- [elpa] 193/352: Vaihdetaan muuttujan nimi paremmin tarkoitusta kuvaamvaksi, (continued)
- [elpa] 193/352: Vaihdetaan muuttujan nimi paremmin tarkoitusta kuvaamvaksi, Stefan Monnier, 2014/07/07
- [elpa] 291/352: Version 2011.07.04, Stefan Monnier, 2014/07/07
- [elpa] 172/352: Lisätään autoload-komento alun asennusohjeisiin (-spelling-suggestions), Stefan Monnier, 2014/07/07
- [elpa] 348/352: Enchant must be restarted after calling enchant-add-to-dictionary, Stefan Monnier, 2014/07/07
- [elpa] 338/352: Silence byte-compiler warning about SHOW-ENTRY function, Stefan Monnier, 2014/07/07
- [elpa] 297/352: Remove "A" from the README file's subtitle, Stefan Monnier, 2014/07/07
- [elpa] 304/352: A minor document fix, Stefan Monnier, 2014/07/07
- [elpa] 211/352: Hiotaan vielä oikolukuehdotusten ohjelmavirheenkäsittelyä, Stefan Monnier, 2014/07/07
- [elpa] 126/352: Parannetaan virhetilanteiden tarkistusta ja virheilmoituksia, Stefan Monnier, 2014/07/07
- [elpa] 298/352: Update link to README.org, Stefan Monnier, 2014/07/07
- [elpa] 350/352: Use PUSH instead of ADD-TO-LIST,
Stefan Monnier <=
- [elpa] 213/352: Poistetaan ylimääräinen parametri signal-funktiolta, Stefan Monnier, 2014/07/07
- [elpa] 128/352: Siirretään funktion wcheck-receive-words paikkaa, Stefan Monnier, 2014/07/07
- [elpa] 127/352: Siirretään ylläpitotehtäviä funktioon, jossa niitä muutenkin tehdään, Stefan Monnier, 2014/07/07
- [elpa] 196/352: Uusi macro: wcheck-with-language-data, Stefan Monnier, 2014/07/07
- [elpa] 330/352: Add hyperlinks to Emacs, Flyspell and Speck mode, Stefan Monnier, 2014/07/07
- [elpa] 300/352: Simplify the customize code of wcheck-language-data, Stefan Monnier, 2014/07/07
- [elpa] 328/352: Add another <>'s around the email address, Stefan Monnier, 2014/07/07
- [elpa] 146/352: Käytetään #'-lukijamakroa funktion edessä, Stefan Monnier, 2014/07/07
- [elpa] 122/352: Poistetaan turha roina funktiosta wcheck-send-words, Stefan Monnier, 2014/07/07
- [elpa] 143/352: Sallitaan connection-argumentille arvoksi sekä "t" että "pty", Stefan Monnier, 2014/07/07