diff options
| author | Thien-Thi Nguyen | 2005-10-06 15:00:49 +0000 |
|---|---|---|
| committer | Thien-Thi Nguyen | 2005-10-06 15:00:49 +0000 |
| commit | de4ce191011fbfc863098238d3703e4e24303453 (patch) | |
| tree | 0a28406f92123e2d67ebeb08617d839612acb523 | |
| parent | 8dc8d895940caf1c2b556b6cc88ed06cb67a6784 (diff) | |
| download | emacs-de4ce191011fbfc863098238d3703e4e24303453.tar.gz emacs-de4ce191011fbfc863098238d3703e4e24303453.zip | |
(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.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/textmodes/artist.el | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7729d9494d4..3504a7b4886 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2005-10-06 Thien-Thi Nguyen <ttn@gnu.org> | ||
| 2 | |||
| 3 | * textmodes/artist.el (artist-ellipse-mirror-quadrant): | ||
| 4 | Fix bug introduced 2005-07-03: Use (car (last ...)) | ||
| 5 | to faithfully reproduce replaced artist-last. | ||
| 6 | (artist-set-arrow-points-for-poly): Likewise. | ||
| 7 | Suggested by Johan Bockg,Ae(Brd. | ||
| 8 | |||
| 1 | 2005-10-06 Juanma Barranquero <lekktu@gmail.com> | 9 | 2005-10-06 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 10 | ||
| 3 | * dframe.el (x-pointer-hand2, x-pointer-top-left-arrow): | 11 | * dframe.el (x-pointer-hand2, x-pointer-top-left-arrow): |
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el index c9fcd01d018..b13b080cf79 100644 --- a/lisp/textmodes/artist.el +++ b/lisp/textmodes/artist.el | |||
| @@ -3379,7 +3379,7 @@ The POINT-LIST is expected to cover the first quadrant." | |||
| 3379 | ;; that look like: \ / instead we get: ( ) | 3379 | ;; that look like: \ / instead we get: ( ) |
| 3380 | ;; \ / \ / | 3380 | ;; \ / \ / |
| 3381 | ;; --------- --------- | 3381 | ;; --------- --------- |
| 3382 | (let ((last-coord (last point-list))) | 3382 | (let ((last-coord (car (last point-list)))) |
| 3383 | (if (= (artist-coord-get-new-char last-coord) ?/) | 3383 | (if (= (artist-coord-get-new-char last-coord) ?/) |
| 3384 | (artist-coord-set-new-char last-coord artist-ellipse-right-char))) | 3384 | (artist-coord-set-new-char last-coord artist-ellipse-right-char))) |
| 3385 | 3385 | ||
| @@ -3848,8 +3848,8 @@ Optional argument STATE can be used to set state (default is nil)." | |||
| 3848 | (x2 (artist-endpoint-get-x ep2)) | 3848 | (x2 (artist-endpoint-get-x ep2)) |
| 3849 | (y2 (artist-endpoint-get-y ep2)) | 3849 | (y2 (artist-endpoint-get-y ep2)) |
| 3850 | (dir1 (artist-find-direction x2 y2 x1 y1)) | 3850 | (dir1 (artist-find-direction x2 y2 x1 y1)) |
| 3851 | (epn (last point-list)) | 3851 | (epn (car (last point-list))) |
| 3852 | (epn-1 (last point-list 2)) | 3852 | (epn-1 (car (last point-list 2))) |
| 3853 | (xn (artist-endpoint-get-x epn)) | 3853 | (xn (artist-endpoint-get-x epn)) |
| 3854 | (yn (artist-endpoint-get-y epn)) | 3854 | (yn (artist-endpoint-get-y epn)) |
| 3855 | (xn-1 (artist-endpoint-get-x epn-1)) | 3855 | (xn-1 (artist-endpoint-get-x epn-1)) |