From: Erik Naggum Date: Fri, 19 Jan 1996 11:24:34 +0000 (+0000) Subject: (pp-eval-expression): Use `frame-width' instead of `screen-width'. X-Git-Tag: emacs-19.34~1635 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=06115f9d41df9b46be4f7ddd71fd6fcfdc014a62;p=emacs.git (pp-eval-expression): Use `frame-width' instead of `screen-width'. --- diff --git a/lisp/emacs-lisp/pp.el b/lisp/emacs-lisp/pp.el index f7e3a1ad25c..f7e6afb4952 100644 --- a/lisp/emacs-lisp/pp.el +++ b/lisp/emacs-lisp/pp.el @@ -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)))