From df17440f9338d31ad837cbc98b584441bf469ada Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Fri, 09 Oct 2020 10:56:08 +0000
Subject: [PATCH] checks for texcount installed in system

---
 config.org |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/config.org b/config.org
index fe65344..ff5d0ba 100644
--- a/config.org
+++ b/config.org
@@ -1027,7 +1027,7 @@
     (shell-command "unzip -o ~/.texcount/texcount.zip -d ~/.texcount")
     (add-to-list 'exec-path "~/.texcount/texcount.pl"))
 
-  (if (not(file-exists-p "~/.texcount/texcount.pl"))
+  (if (not(or (file-exists-p "~/.texcount/texcount.pl") (file-exists-p "/usr/bin/texcount")))
       (get-texcount-latest))
 
   (defun texcount ()

--
Gitblit v1.9.3