• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/

Lines Matching +refs:point +refs:max

79       (max 1 (- (window-height window)
432 (defcustom split-window-keep-point t
433 "*If non-nil, \\[split-window-vertically] keeps the original point \
436 If nil, adjust point in each of the two windows to minimize redisplay.
437 This is convenient on slow terminals, but point can move strangely.
441 point in both children."
452 If the variable `split-window-keep-point' is non-nil, both new windows
453 will get the same value of point as the current window. This is often
458 window is the one that the current value of point appears in. The
459 value of point can change if the text around point is hidden by the
462 Regardless of the value of `split-window-keep-point', the upper
467 (old-point (point))
473 (or split-window-keep-point
479 (set-window-start new-w (point))
480 (if (> (point) (window-point new-w))
481 (set-window-point new-w (point)))
486 (setq bottom (point)))
488 (<= bottom (point))
489 (set-window-point old-w (1- bottom)))
491 (<= (window-start new-w) old-point)
493 (set-window-point new-w old-point)
566 (max 1
567 (count-screen-lines (point-min) (point-max)
569 ;; counting height unless point is after it.
578 Optional arguments BEG and END default to `point-min' and `point-max'
593 (setq beg (point-min)))
595 (setq end (point-max)))
603 (= ?\n (char-before (max beg end))))
604 (1- (max beg end))
605 (max beg end)))
606 (goto-char (point-min))
609 (defun fit-window-to-buffer (&optional window max-height min-height)
623 (when (null max-height)
624 (setq max-height (frame-height (window-frame window))))
640 (if (= (point-min) (point-max))
651 (- (max (min desired-height max-height)
662 (set-window-point window (1- (window-point window))))
676 (goto-char (point-max))
687 (point)))))
689 (while (and (< desired-height max-height)
711 (pos-visible-in-window-p (point-min) window)