(gs-set-ghostview-window-prop): Fix args of `elt'.
This commit is contained in:
parent
6260538e9b
commit
62bfa68216
2 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
|||
2001-10-01 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* gs.el (gs-set-ghostview-window-prop): Fix args of `elt'.
|
||||
|
||||
* emacs-lisp/edebug.el (rx): Add def-edebug-spec.
|
||||
|
||||
* emacs-lisp/rx.el: New file.
|
||||
|
|
|
@ -115,10 +115,10 @@ SPEC is a GS image specification. IMG-WIDTH is the width of the
|
|||
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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue