# HG changeset patch # User Thien-Thi Nguyen # Date 1128610583 0 # Node ID c9a88ce08e2d529fdd8b53f5c4d9b03d07f042de # Parent 68684a4cf4102374cfcec25a5882730802766643 (artist-ellipse-mirror-quadrant): Fix bug introduced 2005-07-03: Use (car (last ...)) to faithfully reproduce replaced artist-last. (artist-set-arrow-points-for-poly): Likewise. diff -r 68684a4cf410 -r c9a88ce08e2d lisp/textmodes/artist.el --- a/lisp/textmodes/artist.el Thu Oct 06 09:25:12 2005 +0000 +++ b/lisp/textmodes/artist.el Thu Oct 06 14:56:23 2005 +0000 @@ -3379,7 +3379,7 @@ ;; that look like: \ / instead we get: ( ) ;; \ / \ / ;; --------- --------- - (let ((last-coord (last point-list))) + (let ((last-coord (car (last point-list)))) (if (= (artist-coord-get-new-char last-coord) ?/) (artist-coord-set-new-char last-coord artist-ellipse-right-char))) @@ -3848,8 +3848,8 @@ (x2 (artist-endpoint-get-x ep2)) (y2 (artist-endpoint-get-y ep2)) (dir1 (artist-find-direction x2 y2 x1 y1)) - (epn (last point-list)) - (epn-1 (last point-list 2)) + (epn (car (last point-list))) + (epn-1 (car (last point-list 2))) (xn (artist-endpoint-get-x epn)) (yn (artist-endpoint-get-y epn)) (xn-1 (artist-endpoint-get-x epn-1))