aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Janík2001-10-24 20:20:18 +0000
committerPavel Janík2001-10-24 20:20:18 +0000
commitd492b584fdb5f4318a35eb29767493adbbda3023 (patch)
tree26effd079db9a584db5010e995880fd23f78a86b /src
parent7b611de008c3b46f1de1cba8bfd1637df9f6f7bb (diff)
downloademacs-d492b584fdb5f4318a35eb29767493adbbda3023.tar.gz
emacs-d492b584fdb5f4318a35eb29767493adbbda3023.zip
(scan_newline): Remove unused variable `selective_display'.
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