Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
de182d70
Commit
de182d70
authored
Dec 25, 1999
by
Gerd Moellmann
Browse files
(looking_at_1): Reset immediate_quit before modifying
global data.
parent
f9b537ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/search.c
src/search.c
+2
-1
No files found.
src/search.c
View file @
de182d70
...
...
@@ -308,6 +308,8 @@ looking_at_1 (string, posix)
i
=
re_match_2
(
bufp
,
(
char
*
)
p1
,
s1
,
(
char
*
)
p2
,
s2
,
PT_BYTE
-
BEGV_BYTE
,
&
search_regs
,
ZV_BYTE
-
BEGV_BYTE
);
immediate_quit
=
0
;
if
(
i
==
-
2
)
matcher_overflow
();
...
...
@@ -322,7 +324,6 @@ looking_at_1 (string, posix)
=
BYTE_TO_CHAR
(
search_regs
.
end
[
i
]
+
BEGV_BYTE
);
}
XSETBUFFER
(
last_thing_searched
,
current_buffer
);
immediate_quit
=
0
;
return
val
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment