[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 15/51: [gnugo int] Use ‘(spli t-string STR SEP t)’.
From: |
Thien-Thi Nguyen |
Subject: |
[elpa] 15/51: [gnugo int] Use ‘(spli t-string STR SEP t)’. |
Date: |
Mon, 24 Feb 2014 12:30:18 +0000 |
ttn pushed a commit to branch master
in repository elpa.
commit 2ca5a50b706d4a1363c6ad6d86b99c37f9121bec
Author: Thien-Thi Nguyen <address@hidden>
Date: Fri Jan 31 13:51:08 2014 +0100
[gnugo int] Use ‘(split-string STR SEP t)’.
* packages/gnugo/gnugo.el (gnugo-animate-group): ...here,
instead of manually deleting the empty strings
returned from a two-arg call to ‘split-string’.
---
packages/gnugo/gnugo.el | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index b3b3cdf..17cb428 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -1050,10 +1050,7 @@ To start a game try M-x gnugo."
(error "No stone at %s" pos))))
(message "Computing %s ... %s in group." command (length stones))
(setplist (gnugo-f 'anim) nil)
- (let* ((spec (let ((spec
- ;; `(split-string gnugo-animation-string "" t)'
- ;; works as well, for newer emacs versions
- (delete "" (split-string gnugo-animation-string ""))))
+ (let* ((spec (let ((spec (split-string gnugo-animation-string "" t)))
(cond ((gnugo-get :display-using-images)
(let* ((yin (get-text-property (point) 'gnugo-yin))
(yang (gnugo-yang (char-after)))
- [elpa] 05/51: [gnugo] Use ‘cl-labels ’ instead of ‘flet’., (continued)
- [elpa] 05/51: [gnugo] Use ‘cl-labels ’ instead of ‘flet’., Thien-Thi Nguyen, 2014/02/24
- [elpa] 11/51: [gnugo maint] Add HACKING; prune Commentary; nfc., Thien-Thi Nguyen, 2014/02/24
- [elpa] 09/51: [gnugo] Wait at most 30sec for subproc output chunk., Thien-Thi Nguyen, 2014/02/24
- [elpa] 16/51: [gnugo maint] Update "next" in HACKING; nfc., Thien-Thi Nguyen, 2014/02/24
- [elpa] 07/51: [gnugo] Presume "modern" GNU Emacs., Thien-Thi Nguyen, 2014/02/24
- [elpa] 06/51: [gnugo] Presume working time-date.el., Thien-Thi Nguyen, 2014/02/24
- [elpa] 19/51: [gnugo maint] Revamp "ChangeLog discipline" in HACKING; nfc., Thien-Thi Nguyen, 2014/02/24
- [elpa] 17/51: [gnugo] Indicate buffer not modified after save., Thien-Thi Nguyen, 2014/02/24
- [elpa] 20/51: [gnugo int] Avoid variable FO RMAT for ‘message’., Thien-Thi Nguyen, 2014/02/24
- [elpa] 14/51: [gnugo int] Use ‘displ ay’ property more., Thien-Thi Nguyen, 2014/02/24
- [elpa] 15/51: [gnugo int] Use ‘(spli t-string STR SEP t)’.,
Thien-Thi Nguyen <=
- [elpa] 23/51: [gnugo int] Drop unused local var., Thien-Thi Nguyen, 2014/02/24
- [elpa] 24/51: [gnugo int] Use ‘numbe r-sequence’ more., Thien-Thi Nguyen, 2014/02/24
- [elpa] 18/51: [gnugo maint] Update a musing item in HACKING; nfc., Thien-Thi Nguyen, 2014/02/24
- [elpa] 25/51: [gnugo int] Use cl-{plus,minus}p more., Thien-Thi Nguyen, 2014/02/24
- [elpa] 27/51: [gnugo int] Hang the sync-return-stash on the process object., Thien-Thi Nguyen, 2014/02/24
- [elpa] 22/51: [gnugo maint] Add .dir-locals.el file, link in HACKING; nfc., Thien-Thi Nguyen, 2014/02/24
- [elpa] 29/51: [gnugo] Indicate buffer not modified after load., Thien-Thi Nguyen, 2014/02/24
- [elpa] 30/51: [gnugo maint] Update NEWS file; nfc., Thien-Thi Nguyen, 2014/02/24
- [elpa] 34/51: [gnugo int] Use ‘set-p rocess-query-on-exit-flag’., Thien-Thi Nguyen, 2014/02/24
- [elpa] 33/51: [gnugo int] Zonk unused local var., Thien-Thi Nguyen, 2014/02/24