Permalink
Browse files

display-pixel-height instead of x-display-pixel-height (from upstream)

  • Loading branch information...
1 parent 1f46c71 commit d68225482950950ad122ff3ab396538dac65dbe8 @jrockway committed May 10, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cperl-mode.el
View
@@ -6572,7 +6572,7 @@ Customized by setting variables `cperl-shrink-wrap-info-frame',
;; Non-functioning under OS/2:
(if (eq char-height 1) (setq char-height 18))
;; Title, menubar, + 2 for slack
- (- (/ (x-display-pixel-height) char-height) 4)))
+ (- (/ (display-pixel-height) char-height) 4)))
(if (> height max-height) (setq height max-height))
;;(message "was %s doing %s" iniheight height)
(if not-loner

0 comments on commit d682254

Please sign in to comment.