changeset 32157:c3d137c056d1

(jit-lock-register, jit-lock-unregister): Docstring fix.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 05 Oct 2000 02:17:22 +0000
parents b3596a2daf42
children b048135b76bc
files lisp/jit-lock.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/jit-lock.el	Thu Oct 05 02:13:25 2000 +0000
+++ b/lisp/jit-lock.el	Thu Oct 05 02:17:22 2000 +0000
@@ -253,13 +253,14 @@
 	 (remove-hook 'fontification-functions 'jit-lock-function))))
 
 (defun jit-lock-register (fun)
-  "Register FUN as a fontification function to be called by jit-lock.
-Only applies to the current buffer."
+  "Register FUN as a fontification function to be called in this buffer.
+FUN will be called with two arguments START and END indicating the region
+that need to be (re)fontified."
   (add-hook 'jit-lock-functions fun nil t)
   (jit-lock-mode t))
 
 (defun jit-lock-unregister (fun)
-  "Unregister FUN as a fontification function to be called by jit-lock.
+  "Unregister FUN as a fontification function.
 Only applies to the current buffer."
   (remove-hook 'jit-lock-functions fun t)
   (when (or (null jit-lock-functions)