(pp-eval-expression): Use `frame-width' instead of `screen-width'.
authorErik Naggum <erik@naggum.no>
Fri, 19 Jan 1996 11:24:34 +0000 (11:24 +0000)
committerErik Naggum <erik@naggum.no>
Fri, 19 Jan 1996 11:24:34 +0000 (11:24 +0000)
lisp/emacs-lisp/pp.el

index f7e3a1a..f7e6afb 100644 (file)
@@ -117,7 +117,7 @@ value."
               (goto-char (point-min))
               (end-of-line 1)
               (if (or (< (1+ (point)) (point-max))
-                      (>= (- (point) (point-min)) (screen-width)))
+                      (>= (- (point) (point-min)) (frame-width)))
                   (let ((temp-buffer-show-function old-show-function)
                         (old-selected (selected-window))
                         (window (display-buffer buf)))