[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 d825f66: Fix filling circle/ellipse in Artist Mod
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-24 d825f66: Fix filling circle/ellipse in Artist Mode (Bug#19763) |
Date: |
Wed, 04 Feb 2015 15:33:25 +0000 |
branch: emacs-24
commit d825f66db83501588f1c84aa4d78e644e0d5f896
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Fix filling circle/ellipse in Artist Mode (Bug#19763)
lisp/textmodes/artist.el (artist-ellipse-compute-fill-info): Use
mapcar, not mapc, to create the other half of fill-info.
---
lisp/ChangeLog | 6 ++++++
lisp/textmodes/artist.el | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e52f9a3..e0c8815 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-04 Eli Zaretskii <address@hidden>
+
+ * textmodes/artist.el (artist-ellipse-compute-fill-info): Use
+ mapcar, not mapc, to create the other half of fill-info.
+ (Bug#19763)
+
2015-02-04 Nicolas Petton <address@hidden>
* emacs-lisp/authors.el (authors-ignored-files)
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el
index 85d9410..930c39c 100644
--- a/lisp/textmodes/artist.el
+++ b/lisp/textmodes/artist.el
@@ -3372,7 +3372,7 @@ The POINT-LIST is expected to cover the first quadrant."
;; Create the other half by mirroring the first half.
(setq both-halves
(append first-half
- (mapc
+ (mapcar
(lambda (i)
(artist-new-fill-item (artist-fill-item-get-x i)
(- (artist-fill-item-get-y i))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 d825f66: Fix filling circle/ellipse in Artist Mode (Bug#19763),
Eli Zaretskii <=