[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 154/352: Optimoidaan hieman funktiota wcheck-collect-faces
From: |
Stefan Monnier |
Subject: |
[elpa] 154/352: Optimoidaan hieman funktiota wcheck-collect-faces |
Date: |
Mon, 07 Jul 2014 14:03:27 +0000 |
monnier pushed a commit to branch master
in repository elpa.
commit 7a8bdc011706fe2b84dcafd7d3b01947d901a057
Author: Teemu Likonen <address@hidden>
Date: Fri Mar 12 08:29:11 2010 +0000
Optimoidaan hieman funktiota wcheck-collect-faces
---
wcheck-mode.el | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/wcheck-mode.el b/wcheck-mode.el
index 1642b47..2c33cd0 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -956,11 +956,10 @@ visible in BUFFER within position range from BEG to END."
face faces)
(while (< pos end)
(setq face (get-text-property pos 'face)
- faces (append (if (and face (listp face))
- face
- (list face))
- faces)
- pos (1+ pos)))
+ pos (1+ pos))
+ (if (and face (listp face))
+ (setq faces (append face faces))
+ (push face faces)))
(delete-dups faces)))
- [elpa] 290/352: Change README link to point to a newer commit, (continued)
- [elpa] 290/352: Change README link to point to a newer commit, Stefan Monnier, 2014/07/07
- [elpa] 259/352: Rephrase documentation and comments, Stefan Monnier, 2014/07/07
- [elpa] 321/352: Make README.org more org-export-friendly, Stefan Monnier, 2014/07/07
- [elpa] 293/352: Remove duplicate word "function" from doc string, Stefan Monnier, 2014/07/07
- [elpa] 324/352: Leave author and timestamp out from exported README.org, Stefan Monnier, 2014/07/07
- [elpa] 294/352: Put case-fold in language options rather than email parser function, Stefan Monnier, 2014/07/07
- [elpa] 206/352: Käsitellään oikolukuehdotusten virheet toisella tavalla, Stefan Monnier, 2014/07/07
- [elpa] 347/352: Add elpa pkg file to the repository (version 2014.5.17), Stefan Monnier, 2014/07/07
- [elpa] 178/352: Käytetään Emacs Lisp -tiedostojen vakiintuneita otsakkeita, Stefan Monnier, 2014/07/07
- [elpa] 315/352: Update copyright year to 2013, Stefan Monnier, 2014/07/07
- [elpa] 154/352: Optimoidaan hieman funktiota wcheck-collect-faces,
Stefan Monnier <=
- [elpa] 165/352: Lisätään autoload-vihje funktiolle wcheck-spelling-suggestions, Stefan Monnier, 2014/07/07
- [elpa] 242/352: New feature: call custom functions from suggestion menu, Stefan Monnier, 2014/07/07
- [elpa] 153/352: Siirretään ajastimen käynnistys ja sammutus omiin funktioihinsa, Stefan Monnier, 2014/07/07
- [elpa] 295/352: Minor README formatting, Stefan Monnier, 2014/07/07
- [elpa] 343/352: Delete obsolete variable wcheck-read-or-skip-faces, Stefan Monnier, 2014/07/07
- [elpa] 204/352: Siirretään makrojen määritykset samaan paikkaan, Stefan Monnier, 2014/07/07
- [elpa] 341/352: Remove "see examples below" from the doc string of wcheck-language-data, Stefan Monnier, 2014/07/07
- [elpa] 326/352: Rephrase README.org file (FIXME and email examples), Stefan Monnier, 2014/07/07
- [elpa] 346/352: Adjust Makefile, Stefan Monnier, 2014/07/07
- [elpa] 217/352: Muutetaan hylätyn korjausehdotusvalinnan virheilmoitusta, Stefan Monnier, 2014/07/07