aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Colascione2018-06-15 23:53:36 -0700
committerDaniel Colascione2018-06-16 13:46:38 -0700
commit971abd6753ed0b13019e52baab862e68453c7306 (patch)
tree61bd5bcd74fdd3856f4c8e88ff66a00127199d65 /src
parent55bc3db67c6a691bf40036394cd8ed4ab0a31c08 (diff)
downloademacs-971abd6753ed0b13019e52baab862e68453c7306.tar.gz
emacs-971abd6753ed0b13019e52baab862e68453c7306.zip
Remove commented-out code in compile_pattern_1
* src/search.c (compile_pattern_1): Remove commented-out code.
Diffstat (limited to 'src')
-rw-r--r--src/search.c7
1 files changed, 0 insertions, 7 deletions
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,
144 else 144 else
145 cp->f_whitespace_regexp = Qnil; 145 cp->f_whitespace_regexp = Qnil;
146 146
147 /* rms: I think BLOCK_INPUT is not needed here any more,
148 because regex.c defines malloc to call xmalloc.
149 Using BLOCK_INPUT here means the debugger won't run if an error occurs.
150 So let's turn it off. */
151 /* BLOCK_INPUT; */
152
153 whitespace_regexp = STRINGP (Vsearch_spaces_regexp) ? 147 whitespace_regexp = STRINGP (Vsearch_spaces_regexp) ?
154 SSDATA (Vsearch_spaces_regexp) : NULL; 148 SSDATA (Vsearch_spaces_regexp) : NULL;
155 149
@@ -160,7 +154,6 @@ compile_pattern_1 (struct regexp_cache *cp, Lisp_Object pattern,
160 syntax-table, it can only be reused with *this* syntax table. */ 154 syntax-table, it can only be reused with *this* syntax table. */
161 cp->syntax_table = cp->buf.used_syntax ? BVAR (current_buffer, syntax_table) : Qt; 155 cp->syntax_table = cp->buf.used_syntax ? BVAR (current_buffer, syntax_table) : Qt;
162 156
163 /* unblock_input (); */
164 if (val) 157 if (val)
165 xsignal1 (Qinvalid_regexp, build_string (val)); 158 xsignal1 (Qinvalid_regexp, build_string (val));
166 159