summaryrefslogtreecommitdiff
path: root/lisp/textmodes/artist.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-02-04 17:31:37 +0200
committerEli Zaretskii <eliz@gnu.org>2015-02-04 17:31:37 +0200
commitd825f66db83501588f1c84aa4d78e644e0d5f896 (patch)
tree36275f94ba23aa241908dd18e007dbc34c71c431 /lisp/textmodes/artist.el
parent4779a4bbcc2ce7599a546cc61aab6106376680fa (diff)
downloademacs-d825f66db83501588f1c84aa4d78e644e0d5f896.tar.gz
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.
Diffstat (limited to 'lisp/textmodes/artist.el')
-rw-r--r--lisp/textmodes/artist.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el
index 85d9410868a..930c39c82cc 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))