comparison lisp/jit-lock.el @ 32485:af9a6a4187ec

(jit-lock-fontify-buffer): Remove.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 15 Oct 2000 04:53:30 +0000
parents ca771411a7fd
children 2555cdee2fed
comparison
equal deleted inserted replaced
32484:bb1bfa010bf3 32485:af9a6a4187ec
236 236
237 ;; This function is used to prevent font-lock-fontify-buffer from 237 ;; This function is used to prevent font-lock-fontify-buffer from
238 ;; fontifying eagerly the whole buffer. This is important for 238 ;; fontifying eagerly the whole buffer. This is important for
239 ;; things like CWarn mode which adds/removes a few keywords and 239 ;; things like CWarn mode which adds/removes a few keywords and
240 ;; does a refontify (which takes ages on large files). 240 ;; does a refontify (which takes ages on large files).
241 (defalias 'jit-lock-fontify-buffer 'jit-lock-refontify)
242 (defun jit-lock-refontify (&optional beg end) 241 (defun jit-lock-refontify (&optional beg end)
243 "Force refontification of the region BEG..END (default whole buffer)." 242 "Force refontification of the region BEG..END (default whole buffer)."
244 (with-buffer-prepared-for-jit-lock 243 (with-buffer-prepared-for-jit-lock
245 (save-restriction 244 (save-restriction
246 (widen) 245 (widen)