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
be5357e2
Commit
be5357e2
authored
Oct 08, 1994
by
Jim Blandy
Browse files
* syntax.c (find_defun_start): Call scan_buffer with new args.
parent
9169c321
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/syntax.c
src/syntax.c
+2
-2
No files found.
src/syntax.c
View file @
be5357e2
...
...
@@ -84,7 +84,7 @@ find_defun_start (pos)
return
find_start_value
;
/* Back up to start of line. */
tem
=
scan_buffer
(
'\n'
,
pos
,
-
1
,
&
shortage
,
1
);
tem
=
scan_buffer
(
'\n'
,
pos
,
BEGV
,
-
1
,
&
shortage
,
1
);
while
(
tem
>
BEGV
)
{
...
...
@@ -92,7 +92,7 @@ find_defun_start (pos)
if
(
SYNTAX
(
FETCH_CHAR
(
tem
))
==
Sopen
)
break
;
/* Move to beg of previous line. */
tem
=
scan_buffer
(
'\n'
,
tem
,
-
2
,
&
shortage
,
1
);
tem
=
scan_buffer
(
'\n'
,
tem
,
BEGV
,
-
2
,
&
shortage
,
1
);
}
/* Record what we found, for the next try. */
...
...
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