Index: emacs/src/indent.c diff -c emacs/src/indent.c:1.175 emacs/src/indent.c:1.176 *** emacs/src/indent.c:1.175 Sun Jan 23 22:18:26 2005 --- emacs/src/indent.c Sun Apr 24 21:35:43 2005 *************** *** 65,70 **** --- 65,72 ---- int current_column_bol_cache; + extern Lisp_Object Qfontification_functions; + /* Get the display table to use for the current buffer. */ struct Lisp_Char_Table * *************** *** 2047,2052 **** --- 2049,2055 ---- struct window *w; Lisp_Object old_buffer; struct gcpro gcpro1; + int count = SPECPDL_INDEX (); CHECK_NUMBER (lines); if (! NILP (window)) *************** *** 2064,2069 **** --- 2067,2075 ---- XSETBUFFER (w->buffer, current_buffer); } + /* Don't fontify text that we just move across. */ + specbind (Qfontification_functions, Qnil); + if (noninteractive) { struct position pos; *************** *** 2109,2114 **** --- 2115,2121 ---- if (BUFFERP (old_buffer)) w->buffer = old_buffer; + unbind_to (count, Qnil); RETURN_UNGCPRO (make_number (it.vpos)); }
_______________________________________________ Emacs-diffs mailing list Emacs-diffs@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-diffs