Mercurial > emacs
comparison lisp/reposition.el @ 14169:83f275dcd93a
Update FSF's address.
author | Erik Naggum <erik@naggum.no> |
---|---|
date | Sun, 14 Jan 1996 07:34:30 +0000 |
parents | cc7cd83ccf3f |
children | 11218164bc54 |
comparison
equal
deleted
inserted
replaced
14168:3b925cc52931 | 14169:83f275dcd93a |
---|---|
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19 ;; GNU General Public License for more details. | 19 ;; GNU General Public License for more details. |
20 | 20 |
21 ;; You should have received a copy of the GNU General Public License | 21 ;; You should have received a copy of the GNU General Public License |
22 ;; along with GNU Emacs; see the file COPYING. If not, write to | 22 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
23 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
24 ;; Boston, MA 02111-1307, USA. | |
24 | 25 |
25 ;;; Commentary: | 26 ;;; Commentary: |
26 | 27 |
27 ;;; Reposition-window makes an entire function definition or comment visible, | 28 ;; Reposition-window makes an entire function definition or comment visible, |
28 ;;; or, if it is already visible, places it at the top of the window; | 29 ;; or, if it is already visible, places it at the top of the window; |
29 ;;; additional invocations toggle the visibility of comments preceding the | 30 ;; additional invocations toggle the visibility of comments preceding the |
30 ;;; code. For the gory details, see the documentation for reposition-window; | 31 ;; code. For the gory details, see the documentation for reposition-window; |
31 ;;; rather than reading that, you may just want to play with it. | 32 ;; rather than reading that, you may just want to play with it. |
32 | 33 |
33 ;;; This tries pretty hard to do the recentering correctly; the precise | 34 ;; This tries pretty hard to do the recentering correctly; the precise |
34 ;;; action depends on what the buffer looks like. If you find a situation | 35 ;; action depends on what the buffer looks like. If you find a situation |
35 ;;; where it doesn't behave well, let me know. This function is modeled | 36 ;; where it doesn't behave well, let me know. This function is modeled |
36 ;;; after one of the same name in ZMACS, but the code is all-new and the | 37 ;; after one of the same name in ZMACS, but the code is all-new and the |
37 ;;; behavior in some situations differs. | 38 ;; behavior in some situations differs. |
38 | 39 |
39 ;;; Code: | 40 ;;; Code: |
40 | 41 |
41 ;;;###autoload | 42 ;;;###autoload |
42 (defun reposition-window (&optional arg) | 43 (defun reposition-window (&optional arg) |