aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/search.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7575bb25261..70b92f906f3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12001-10-25 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2
3 * search.c (scan_newline): Remove unused variable
4 `selective_display'.
5
12001-10-25 Miles Bader <miles@gnu.org> 62001-10-25 Miles Bader <miles@gnu.org>
2 7
3 * dispextern.h (struct image): Add `background', 8 * dispextern.h (struct image): Add `background',
diff --git a/src/search.c b/src/search.c
index 61c486a7925..55d1537c4ff 100644
--- a/src/search.c
+++ b/src/search.c
@@ -752,11 +752,6 @@ scan_newline (start, start_byte, limit, limit_byte, count, allow_quit)
752 752
753 int old_immediate_quit = immediate_quit; 753 int old_immediate_quit = immediate_quit;
754 754
755 /* If we are not in selective display mode,
756 check only for newlines. */
757 int selective_display = (!NILP (current_buffer->selective_display)
758 && !INTEGERP (current_buffer->selective_display));
759
760 /* The code that follows is like scan_buffer 755 /* The code that follows is like scan_buffer
761 but checks for either newline or carriage return. */ 756 but checks for either newline or carriage return. */
762 757