texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Gavin D. Smith
Date: Sun, 20 Mar 2022 06:08:51 -0400 (EDT)

branch: master
commit 6b0c413227818ea2e5e9de6554b5ec84b7245e46
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Mar 20 10:08:40 2022 +0000

    * util/texi2dvi (xref_file_p): Remove unused.
---
 ChangeLog     |  4 ++++
 util/texi2dvi | 18 ------------------
 2 files changed, 4 insertions(+), 18 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 233e0592e8..a860648378 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-03-20  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * util/texi2dvi (xref_file_p): Remove unused.
+
 2022-03-20  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * util/texi2dvi (list_dir_to_abs):
diff --git a/util/texi2dvi b/util/texi2dvi
index f7d53c90b0..1f42b41907 100755
--- a/util/texi2dvi
+++ b/util/texi2dvi
@@ -656,24 +656,6 @@ index_file_p ()
   return 0
 }
 
-########### not used currently
-# xref_file_p FILE - Return success if FILE is an xref file (indexes,
-# tables and lists).
-xref_file_p ()
-{
-  test -f "$1" || return 1
-  # If the file is not suitable to be an index or xref file, don't
-  # process it.  It's suitable if the first character is a
-  # backslash or right quote or at, as long as the first line isn't
-  # \input texinfo.
-  case `$SED '1q' "$1"` in
-    "\\input texinfo"*) return 1;;
-    [\\''@]*)           return 0;;
-           *)           return 1;;
-  esac
-}
-
-
 # Used in generated_files_get
 generated_files_get_from_log ()
 {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]