aboutsummaryrefslogtreecommitdiffstats
path: root/src/search.c
diff options
context:
space:
mode:
authorRichard M. Stallman1995-10-25 19:33:48 +0000
committerRichard M. Stallman1995-10-25 19:33:48 +0000
commit24b704fa6e80f7eae66bfcbb38857b9cf0bc214b (patch)
tree5813a82ded9d74dbcea59d0f7a1b1b0741672135 /src/search.c
parentea18e2846dc75fa31d0b53b7953e6fc1b8012153 (diff)
downloademacs-24b704fa6e80f7eae66bfcbb38857b9cf0bc214b.tar.gz
emacs-24b704fa6e80f7eae66bfcbb38857b9cf0bc214b.zip
(string_match_1): Pass the POSIX arg to compile_pattern.
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 7813ca67ec5..c426fe91833 100644
--- a/src/search.c
+++ b/src/search.c
@@ -309,7 +309,7 @@ string_match_1 (regexp, string, start, posix)
309 bufp = compile_pattern (regexp, &search_regs, 309 bufp = compile_pattern (regexp, &search_regs,
310 (!NILP (current_buffer->case_fold_search) 310 (!NILP (current_buffer->case_fold_search)
311 ? DOWNCASE_TABLE : 0), 311 ? DOWNCASE_TABLE : 0),
312 0); 312 posix);
313 immediate_quit = 1; 313 immediate_quit = 1;
314 val = re_search (bufp, (char *) XSTRING (string)->data, 314 val = re_search (bufp, (char *) XSTRING (string)->data,
315 XSTRING (string)->size, s, XSTRING (string)->size - s, 315 XSTRING (string)->size, s, XSTRING (string)->size - s,