From: Daniel Colascione Date: Sat, 16 Jun 2018 06:53:36 +0000 (-0700) Subject: Remove commented-out code in compile_pattern_1 X-Git-Tag: emacs-27.0.90~4829 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=971abd6753ed0b13019e52baab862e68453c7306;p=emacs.git Remove commented-out code in compile_pattern_1 * src/search.c (compile_pattern_1): Remove commented-out code. --- diff --git a/src/search.c b/src/search.c index 6d010466dcd..a21c01ca4b4 100644 --- a/src/search.c +++ b/src/search.c @@ -144,12 +144,6 @@ compile_pattern_1 (struct regexp_cache *cp, Lisp_Object pattern, else cp->f_whitespace_regexp = Qnil; - /* rms: I think BLOCK_INPUT is not needed here any more, - because regex.c defines malloc to call xmalloc. - Using BLOCK_INPUT here means the debugger won't run if an error occurs. - So let's turn it off. */ - /* BLOCK_INPUT; */ - whitespace_regexp = STRINGP (Vsearch_spaces_regexp) ? SSDATA (Vsearch_spaces_regexp) : NULL; @@ -160,7 +154,6 @@ compile_pattern_1 (struct regexp_cache *cp, Lisp_Object pattern, syntax-table, it can only be reused with *this* syntax table. */ cp->syntax_table = cp->buf.used_syntax ? BVAR (current_buffer, syntax_table) : Qt; - /* unblock_input (); */ if (val) xsignal1 (Qinvalid_regexp, build_string (val));