]> git.eshelyaron.com Git - emacs.git/commitdiff
Rename font-log-refontify
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 12 Nov 2019 02:40:06 +0000 (03:40 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 12 Nov 2019 02:40:29 +0000 (03:40 +0100)
* lisp/font-lock.el (font-lock-debug-fontify): Rename to make it
clearer what the function is for.
* doc/lispref/modes.texi (Font Lock Basics): Ditto.

doc/lispref/modes.texi
lisp/font-lock.el

index b7e574740abdbea13075f79bbcc07f0bdaff9ba2..7283930507fe5c31475def97e0eac479c44d5317 100644 (file)
@@ -2738,11 +2738,11 @@ This function should make sure the region between @var{beg} and
 accessible portion.  Calls the function specified by
 @code{font-lock-ensure-function}.
 
-@item font-lock-refontify
+@item font-lock-debug-fontify
 This is a convenience command meant to be used when developing font
 locking for a mode, and should not be called from Lisp code.  It
 recomputes all the relevant variables and then calls
-@code{font-lock-ensure} on the entire buffer.
+@code{font-lock-fontify-region} on the entire buffer.
 @end ftable
 
   There are several variables that control how Font Lock mode highlights
index f254211aa27c3c8e0a4c7ff49dd30b2d2d460297..01c19e6e87486f81be5d7206bfd7e0f920862961 100644 (file)
@@ -1100,8 +1100,8 @@ accessible portion of the current buffer."
   "Function to make sure a region has been fontified.
 Called with two arguments BEG and END.")
 
-(defun font-lock-refontify ()
-  "Reinitialise the font-lock machinery and re-fontify the buffer.
+(defun font-lock-debug-fontify ()
+  "Reinitialise the font-lock machinery and (re-)fontify the buffer.
 This functions is a convenience functions when developing font
 locking for a mode, and is not meant to be called from lisp functions."
   (interactive)