summaryrefslogtreecommitdiff
path: root/lisp/font-core.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/font-core.el')
-rw-r--r--lisp/font-core.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/font-core.el b/lisp/font-core.el
index 5dd6ad3a17f..6d8588bfa33 100644
--- a/lisp/font-core.el
+++ b/lisp/font-core.el
@@ -106,7 +106,7 @@ fontifying different parts of buffer text, use \\[customize-face].
You can enable Font Lock mode in any major mode automatically by turning on in
the major mode's hook. For example, put in your ~/.emacs:
- (add-hook 'c-mode-hook 'turn-on-font-lock)
+ (add-hook \\='c-mode-hook \\='turn-on-font-lock)
Alternatively, you can use Global Font Lock mode to automagically turn on Font
Lock mode in buffers whose major mode supports it and whose major mode is one