]> git.eshelyaron.com Git - emacs.git/commitdiff
(cperl-info-on-command): Use display-pixel-height rather than
authorGlenn Morris <rgm@gnu.org>
Thu, 12 Jun 2008 03:48:56 +0000 (03:48 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 12 Jun 2008 03:48:56 +0000 (03:48 +0000)
x-display-pixel-height.

lisp/progmodes/cperl-mode.el

index e07050c57167b46e2b338307f7617449590b004c..13c3d37b79b1f5630b613ed1c9f951f4f52b7566 100644 (file)
@@ -6571,7 +6571,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