aboutsummaryrefslogtreecommitdiffstats
path: root/src/scroll.c
diff options
context:
space:
mode:
authorJim Blandy1992-06-30 13:54:21 +0000
committerJim Blandy1992-06-30 13:54:21 +0000
commite5d77022e8429ca757746ed5d7cf9e2420703e8e (patch)
tree2e273d216c8f9e34d5e29547f8e7e7c6c5d32049 /src/scroll.c
parent53b0a6f88893036a42db2abcfbc257b68906956e (diff)
downloademacs-e5d77022e8429ca757746ed5d7cf9e2420703e8e.tar.gz
emacs-e5d77022e8429ca757746ed5d7cf9e2420703e8e.zip
*** empty log message ***
Diffstat (limited to 'src/scroll.c')
-rw-r--r--src/scroll.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/scroll.c b/src/scroll.c
index 64dfd9aef25..ed45318a26b 100644
--- a/src/scroll.c
+++ b/src/scroll.c
@@ -1,11 +1,11 @@
1/* Calculate what line insertion or deletion to do, and do it, 1/* Calculate what line insertion or deletion to do, and do it,
2 Copyright (C) 1985, 1986, 1990 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1990, 1992 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
6GNU Emacs is free software; you can redistribute it and/or modify 6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 1, or (at your option) 8the Free Software Foundation; either version 2, or (at your option)
9any later version. 9any later version.
10 10
11GNU Emacs is distributed in the hope that it will be useful, 11GNU Emacs is distributed in the hope that it will be useful,
@@ -54,15 +54,6 @@ struct matrix_elt
54 char deletecount; 54 char deletecount;
55 }; 55 };
56 56
57/* See do_line_insertion_deletion_costs for info on these arrays. */
58
59#ifndef MULTI_SCREEN
60static int *insert_line_cost;
61static int *delete_line_cost;
62static int *insert_n_lines_cost;
63static int *delete_n_lines_cost;
64#endif
65
66 57
67/* Determine, in matrix[i,j], the cost of updating the first j old lines 58/* Determine, in matrix[i,j], the cost of updating the first j old lines
68 into the first i new lines. 59 into the first i new lines.