aboutsummaryrefslogtreecommitdiffstats
path: root/src/search.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1995-10-25 19:33:48 +0000
committerRichard M. Stallman <[email protected]>1995-10-25 19:33:48 +0000
commit24b704fa6e80f7eae66bfcbb38857b9cf0bc214b (patch)
tree5813a82ded9d74dbcea59d0f7a1b1b0741672135 /src/search.c
parentea18e2846dc75fa31d0b53b7953e6fc1b8012153 (diff)
(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 7813ca67ec..c426fe9183 100644
--- a/src/search.c
+++ b/src/search.c
@@ -309,7 +309,7 @@ string_match_1 (regexp, string, start, posix)
bufp = compile_pattern (regexp, &search_regs,
(!NILP (current_buffer->case_fold_search)
? DOWNCASE_TABLE : 0),
- 0);
+ posix);
immediate_quit = 1;
val = re_search (bufp, (char *) XSTRING (string)->data,
XSTRING (string)->size, s, XSTRING (string)->size - s,