Show
Ignore:
Timestamp:
09/30/06 09:12:06 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lisp

    • Property svn:ignore changed from
      *.elc
      MANIFEST
      Makefile
      Makefile.unix
      makefile
      elc.tar.gz
      cus-load.el
      finder-inf.el
      subdirs.el
      loaddefs.el
      to
      *.elc
      MANIFEST
      Makefile
      Makefile.unix
      makefile
      elc.tar.gz
      cus-load.el
      finder-inf.el
      subdirs.el
      loaddefs.el
      pre-mh-loaddefs.el-CMD
  • trunk/lisp/jit-lock.el

    r4166 r4169  
    350350         ;; chunk is either `end', or the start of a region 
    351351         ;; before `end' that has already been fontified. 
    352          (while start 
     352         (while (and start (< start end)) 
    353353           ;; Determine the end of this chunk. 
    354354           (setq next (or (text-property-any start end 'fontified t) 
     
    398398           ;; jit-lock-after-change-extend-region-functions. 
    399399           (when (< start orig-start) 
    400              (run-with-timer 0 nil 'jit-lock-fontify-again 
     400             (run-with-timer 0 nil 'jit-lock-force-redisplay 
    401401                             (current-buffer) start orig-start)) 
    402402 
     
    404404           (setq start (text-property-any next end 'fontified nil)))))))) 
    405405 
    406 (defun jit-lock-fontify-again (buf start end) 
    407   "Fontify in buffer BUF from START to END." 
     406(defun jit-lock-force-redisplay (buf start end) 
     407  "Force the display engine to re-render buffer BUF from START to END." 
    408408  (with-current-buffer buf 
    409409    (with-buffer-prepared-for-jit-lock 
     410     ;; Don't cause refontification (it's already been done), but just do 
     411     ;; some random buffer change, so as to force redisplay. 
    410412     (put-text-property start end 'fontified t)))) 
    411413