;; Author: Vinicius Jose Latorre <vinicius@cpqd.com.br>
;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br>
-;; Time-stamp: <2004/03/28 19:19:17 vinicius>
+;; Time-stamp: <2004/03/28 23:37:38 vinicius>
;; Keywords: wp, print, PostScript
-;; Version: 6.7.2
+;; Version: 6.7.3
;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/
-(defconst pr-version "6.7.2"
- "printing.el, v 6.7.2 <2004/02/29 vinicius>
+(defconst pr-version "6.7.3"
+ "printing.el, v 6.7.3 <2004/03/28 vinicius>
Please send all bug fixes and enhancements to
Vinicius Jose Latorre <vinicius@cpqd.com.br>
(defun pr-menu-position (entry index horizontal)
(let ((pos (cdr (pr-e-mouse-pixel-position))))
(list
- (list (car pos) ; X
- (- (cdr pos) ; Y
+ (list (or (car pos) 0) ; X
+ (- (or (cdr pos) 0) ; Y
(* (pr-menu-index entry index) pr-menu-char-height)))
(selected-frame)))) ; frame
)
(defun pr-menu-position (entry index horizontal)
(let ((pos (cdr (pr-e-mouse-pixel-position))))
(list
- (list (- (car pos) ; X
+ (list (- (or (car pos) 0) ; X
(* horizontal pr-menu-char-width))
- (- (cdr pos) ; Y
+ (- (or (cdr pos) 0) ; Y
(* (pr-menu-index entry index) pr-menu-char-height)))
(selected-frame)))) ; frame
))