# HG changeset patch # User Gerd Moellmann # Date 1001928707 0 # Node ID db80e2ff68e864f192d8b9ce2130abba244e2bbe # Parent 81ce748b174845666f370c047d851d8268fb903f (gs-set-ghostview-window-prop): Fix args of `elt'. diff -r 81ce748b1748 -r db80e2ff68e8 lisp/gs.el --- a/lisp/gs.el Mon Oct 01 07:38:27 2001 +0000 +++ b/lisp/gs.el Mon Oct 01 09:31:47 2001 +0000 @@ -115,10 +115,10 @@ requested image, and IMG-HEIGHT is the height of the requested image in pixels." (let* ((box (plist-get (cdr spec) :bounding-box)) - (llx (elt 0 box)) - (lly (elt 1 box)) - (urx (elt 2 box)) - (ury (elt 3 box)) + (llx (elt box 0)) + (lly (elt box 1)) + (urx (elt box 2)) + (ury (elt box 3)) (rotation (or (plist-get (cdr spec) :rotate) 0)) ;; The pixel width IMG-WIDTH of the pixmap gives the ;; dots, URX - LLX give the inch.