aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2011-08-20 23:02:39 -0400
committerChong Yidong <[email protected]>2011-08-20 23:02:39 -0400
commit39eeb2f7c5fa7ff0b2a02e84a60d57990b19fbac (patch)
treed33b405d1e250815876acd846dac96546c806858 /lisp
parent2c34e8dad78b1fc1d1473f320226ffe60510c0ab (diff)
Minor fix to last change.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/font-lock.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 22c716ae67..c37a9ae916 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -1031,7 +1031,7 @@ This works by calling `font-lock-unfontify-region-function'."
(funcall font-lock-unfontify-region-function beg end)))
(defun font-lock-default-fontify-buffer ()
- "Fontify the whole buffer using `font-lock-fontify-buffer-function'."
+ "Fontify the whole buffer using `font-lock-fontify-region-function'."
(let ((verbose (if (numberp font-lock-verbose)
(> (buffer-size) font-lock-verbose)
font-lock-verbose)))
@@ -1173,8 +1173,7 @@ what properties to clear before refontifying a region.")
(defun font-lock-default-unfontify-region (beg end)
"Unfontify the text between BEG and END.
-This function is the default value of the variable
- `font-lock-unfontify-region-function'."
+This function is the default `font-lock-unfontify-region-function'."
(remove-list-of-text-properties
beg end (append
font-lock-extra-managed-props