X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/11fdef7d0cf3ef1ce30d1cd09ca9ca9a2b099d20..acaf905b1130aae80fa59d2c861ffd4c8eb75486:/src/syntax.c diff --git a/src/syntax.c b/src/syntax.c index 8c2d5ded21..bb473a52b3 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -1,5 +1,5 @@ /* GNU Emacs routines to deal with syntax tables; also word and list parsing. - Copyright (C) 1985, 1987, 1993-1995, 1997-1999, 2001-2011 + Copyright (C) 1985, 1987, 1993-1995, 1997-1999, 2001-2012 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -398,7 +398,12 @@ find_defun_start (EMACS_INT pos, EMACS_INT pos_byte) if (!open_paren_in_column_0_is_defun_start) { + find_start_value = BEGV; find_start_value_byte = BEGV_BYTE; + find_start_buffer = current_buffer; + find_start_modiff = MODIFF; + find_start_begv = BEGV; + find_start_pos = pos; return BEGV; }