Subject: [PATCH] Fix reference to diff-font-lock-syntax in diff-mode documentation

From: Daniel Martín <[email-masked]>
Date: Sun, 14 Mar 2021 02:32:44 +0100

Here's a small patch that fixes an incomplete variable reference in the
Diff Mode manual.

>From 0b185a206e0d96e0fa0033cf3377ba24d6501f5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= <[email-masked]>
Date: Sun, 14 Mar 2021 02:25:53 +0100
Subject: [PATCH] Fix reference to diff-font-lock-syntax in diff-mode
 documentation

---
 doc/emacs/files.texi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index 6b3bc430d9..912980b688 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -1670,8 +1670,9 @@ Diff Mode
 (``new'') source files.
 
 @vindex diff-font-lock-syntax
-  If non-@code{nil}, fragments of source in hunks are highlighted
-according to the appropriate major mode.
+  If @code{diff-font-lock-syntax} is non-@code{nil}, fragments of
+source in hunks are highlighted according to the appropriate major
+mode.
 
 @node Copying and Naming
 @section Copying, Naming and Renaming Files
-- 
2.28.0