[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 198/255: don't mutate hidden state
From: |
Eric Schulte |
Subject: |
[elpa] 198/255: don't mutate hidden state |
Date: |
Sun, 16 Mar 2014 01:02:47 +0000 |
eschulte pushed a commit to branch go
in repository elpa.
commit 67657a99ffe520cb8b9526af19f85edad1e4135c
Author: Eric Schulte <address@hidden>
Date: Mon May 20 18:45:15 2013 -0600
don't mutate hidden state
---
go-board-faces.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/go-board-faces.el b/go-board-faces.el
index ff0bf06..4a0542d 100644
--- a/go-board-faces.el
+++ b/go-board-faces.el
@@ -106,7 +106,7 @@
(defun go-board-mark (overlay mark)
"Write MARK over top of the SVG image in OVERLAY."
- (let* ((disp (cdr (overlay-get overlay 'display)))
+ (let* ((disp (cdr (copy-tree (overlay-get overlay 'display))))
(data (plist-get disp :data)))
(when (and data (string-match (regexp-quote "</svg>") data))
(plist-put disp :data (concat (substring data 0 (match-beginning 0))
- [elpa] 179/255: track and display prisoners, (continued)
- [elpa] 179/255: track and display prisoners, Eric Schulte, 2014/03/15
- [elpa] 184/255: safer and automatic quitting, Eric Schulte, 2014/03/15
- [elpa] 186/255: better interactive debugging, Eric Schulte, 2014/03/15
- [elpa] 191/255: don't throw error when backend passes, Eric Schulte, 2014/03/15
- [elpa] 185/255: remove dependencies on org-mode functions, Eric Schulte, 2014/03/15
- [elpa] 176/255: task managment, Eric Schulte, 2014/03/15
- [elpa] 178/255: process igs "tell" messages, Eric Schulte, 2014/03/15
- [elpa] 181/255: NOTES #+option, Eric Schulte, 2014/03/15
- [elpa] 193/255: calculate the final score, Eric Schulte, 2014/03/15
- [elpa] 194/255: notes on scaling image sizes, Eric Schulte, 2014/03/15
- [elpa] 198/255: don't mutate hidden state,
Eric Schulte <=
- [elpa] 196/255: mark an overlay with a black or white cross, Eric Schulte, 2014/03/15
- [elpa] 187/255: don't commit if process already quit, Eric Schulte, 2014/03/15
- [elpa] 188/255: adding README, Eric Schulte, 2014/03/15
- [elpa] 199/255: marking captured territory when game ends, Eric Schulte, 2014/03/15
- [elpa] 197/255: use new mark machinery to apply labels, Eric Schulte, 2014/03/15
- [elpa] 195/255: query backend for territory, Eric Schulte, 2014/03/15
- [elpa] 201/255: print score after marking territory, Eric Schulte, 2014/03/15
- [elpa] 189/255: replace flet with cl-flet, Eric Schulte, 2014/03/15
- [elpa] 190/255: set level (mainly for playing GNUGO), Eric Schulte, 2014/03/15
- [elpa] 204/255: prefix external names with package name, Eric Schulte, 2014/03/15