[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 07fe42c 078/271: Vconcat.
From: |
Jackson Ray Hamilton |
Subject: |
[elpa] master 07fe42c 078/271: Vconcat. |
Date: |
Thu, 05 Feb 2015 18:29:54 +0000 |
branch: master
commit 07fe42ca0a6d1b5f06964ce94928972d2139ff48
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>
Vconcat.
---
context-coloring.el | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/context-coloring.el b/context-coloring.el
index d821f72..8be5ff3 100644
--- a/context-coloring.el
+++ b/context-coloring.el
@@ -208,11 +208,12 @@ start, end, level, and style."
(let ((i 0)
(len (length tokens)))
(while (< i len)
- (let ((start (elt tokens i))
- (end (elt tokens (+ i 1)))
- (face (context-coloring-level-face (elt tokens (+ i 2))
- (elt tokens (+ i 3)))))
- (add-text-properties start end `(face ,face rear-nonsticky t)))
+ (add-text-properties
+ (elt tokens i)
+ (elt tokens (+ i 1))
+ `(face ,(context-coloring-level-face
+ (elt tokens (+ i 2))
+ (elt tokens (+ i 3))) rear-nonsticky t))
(setq i (+ i 4))))))
(defun context-coloring-kill-scopifier ()
@@ -224,7 +225,7 @@ buffer."
(defun context-coloring-parse-array (input)
"Specialized alternative JSON parser."
- (apply 'vector (mapcar 'string-to-number (split-string (substring input 1
-1) ","))))
+ (vconcat (mapcar 'string-to-number (split-string (substring input 1 -1)
","))))
(defun context-coloring-scopify ()
"Invokes the external scopifier with the current buffer's
- [elpa] master f07ce20 061/271: Revert back to functions., (continued)
- [elpa] master f07ce20 061/271: Revert back to functions., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 0ab3ed5 060/271: And it still made no difference., Jackson Ray Hamilton, 2015/02/05
- [elpa] master c2114e9 040/271: Uglify tokenizer now working., Jackson Ray Hamilton, 2015/02/05
- [elpa] master b1e7a1d 076/271: Switch to 1-dimensional array., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 7c8e32c 062/271: Restore microooptimized, add more benchmarks, add tests., Jackson Ray Hamilton, 2015/02/05
- [elpa] master eb2e6b3 070/271: Formalize italic support., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 67637bf 072/271: Update test fixture., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 65e4763 065/271: Just push to a single tokens array., Jackson Ray Hamilton, 2015/02/05
- [elpa] master cb8b1f2 066/271: Add light color scheme., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 7a49f9f 067/271: Make comments italic., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 07fe42c 078/271: Vconcat.,
Jackson Ray Hamilton <=
- [elpa] master 28667b8 075/271: Move microoptimized scopifier into the limelight., Jackson Ray Hamilton, 2015/02/05
- [elpa] master c1f9f11 063/271: Switch to concat., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 183ac4e 081/271: Add emacs benchmark., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 59b1c99 074/271: Documentation and cleanup., Jackson Ray Hamilton, 2015/02/05
- [elpa] master c81c3fd 068/271: Make declarations bold., Jackson Ray Hamilton, 2015/02/05
- [elpa] master f9eb4a1 080/271: Revert "Use alist of faces.", Jackson Ray Hamilton, 2015/02/05
- [elpa] master ea3fd79 071/271: Make implicit global variables bold., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 1039a74 073/271: Update microoptimized version., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 18e35dd 069/271: Shift token properties., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 49f5e3e 079/271: Use alist of faces., Jackson Ray Hamilton, 2015/02/05