emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/indent.c


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/src/indent.c
Date: Sun, 24 Apr 2005 17:35:44 -0400

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));
  }
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]