]> git.eshelyaron.com Git - emacs.git/commitdiff
(scan_newline): Remove unused variable `selective_display'.
authorPavel Janík <Pavel@Janik.cz>
Wed, 24 Oct 2001 20:20:18 +0000 (20:20 +0000)
committerPavel Janík <Pavel@Janik.cz>
Wed, 24 Oct 2001 20:20:18 +0000 (20:20 +0000)
src/ChangeLog
src/search.c

index 7575bb252610ed35defa29a54f3fb072769cca02..70b92f906f3b570e15f5ff31cf3abc44386608ed 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-25  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * search.c (scan_newline): Remove unused variable
+       `selective_display'.
+
 2001-10-25  Miles Bader  <miles@gnu.org>
 
        * dispextern.h (struct image): Add `background',
index 61c486a7925af236d98cee11eaa3b765f1513a17..55d1537c4ff65bdc891f9339cef682f148eccf1f 100644 (file)
@@ -752,11 +752,6 @@ scan_newline (start, start_byte, limit, limit_byte, count, allow_quit)
 
   int old_immediate_quit = immediate_quit;
 
-  /* If we are not in selective display mode,
-     check only for newlines.  */
-  int selective_display = (!NILP (current_buffer->selective_display)
-                          && !INTEGERP (current_buffer->selective_display));
-
   /* The code that follows is like scan_buffer
      but checks for either newline or carriage return.  */