;ELC   
;;; Compiled by pot@pot.cnuce.cnr.it on Tue Mar 18 15:51:55 2003
;;; from file /home/pot/gnu/emacs-pretest.new/lisp/reposition.el
;;; in Emacs version 21.3
;;; with bytecomp version 2.85.4.1
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.
(if (and (boundp 'emacs-version)
	 (< (aref emacs-version (1- (length emacs-version))) ?A)
	 (or (and (boundp 'epoch::version) epoch::version)
	     (string-lessp emacs-version "19.29")))
    (error "`reposition.el' was compiled for Emacs 19.29 or later"))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


#@1058 Make the current definition and/or comment visible.
Further invocations move it to the top of the window or toggle the
visibility of comments that precede it.
  Point is left unchanged unless prefix ARG is supplied.
  If the definition is fully onscreen, it is moved to the top of the
window.  If it is partly offscreen, the window is scrolled to get the
definition (or as much as will fit) onscreen, unless point is in a comment
which is also partly offscreen, in which case the scrolling attempts to get
as much of the comment onscreen as possible.
  Initially `reposition-window' attempts to make both the definition and
preceding comments visible.  Further invocations toggle the visibility of
the comment lines.
  If ARG is non-nil, point may move in order to make the whole defun
visible (if only part could otherwise be made so), to make the defun line
visible (if point is in code and it could not be made so, or if only
comments, including the first comment line, are visible), or to make the
first comment line visible (if point is in a comment).
(defalias 'reposition-window #[(&optional arg) "`\306\307 !\310Z\311\312 `\"\313\314\212m\204 \315u\210\316\317!\210\320\321\322\323#\203( \317u\210`)\"]\314\212\316\315!\210\324\315!\210`)\"\311\212\316\315!\210`)\"\f\nX\205S \n\fZ	X\nU\204l \n	U\203\214 \nV\203\214 \203\214 \203\204 	TV\203\204 \316 \210\324 \210\325\313!\202\325\f\313]!\202\f\nU\204\244 \n\313U\204\244 \nW\203\333 \f\313W\203\333 \n	U\203\273 \203\265 \316 \210\324 \210\325\313!\202\203\323 	W\203\323 [y\210\326 \210\325\313!\202\325	^!\202\n\\\317\\	V\203\367 \203\367 \325\313	ZT]\f]!\202\203	W\203\f[y\210\326 \210\327 \202\325	^!.\207" [here ht line comment-height defun-height defun-depth window-height selected-window 2 repos-count-screen-lines window-start 0 repos-count-screen-lines-signed 1 end-of-defun -1 re-search-forward "[^ 	\n\f]" nil t beginning-of-defun recenter beginning-of-line reposition-window defun-line-onscreen-p arg] 6 (#$ . 624) "P"])
(defalias 'repos-count-screen-lines #[(start end) "\212\214	}\210eb\210\302deZ!*\207" [start end vertical-motion] 3])
(defalias 'repos-count-screen-lines-signed #[(start end) "\303	\"	W\203 \n\202 \n[)\207" [start end lines repos-count-screen-lines] 3])
(provide 'reposition)
