summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Politz <politza@hochschule-trier.de>2017-09-14 10:24:55 +0200
committerAndreas Politz <politza@hochschule-trier.de>2017-09-14 10:24:55 +0200
commit3d529b5dd1d9c062198f54a5519c0cec59f12d1f (patch)
tree8b0ccfb17db95bee77d347adde3bb28d441980a5
parent5cf5ca4b5318f47f8aecc3acdefee21e81e1aac9 (diff)
Adds some comments
-rw-r--r--lisp/pdf-info.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/pdf-info.el b/lisp/pdf-info.el
index 8d4ecc9..94439f2 100644
--- a/lisp/pdf-info.el
+++ b/lisp/pdf-info.el
@@ -80,7 +80,9 @@
(file-name-directory (car command-line-args))
(try-directory
(file-name-directory (car command-line-args))))
+ ;; If we are running directly from the git repo.
(try-directory (expand-file-name "../server"))
+ ;; Fall back to epdfinfo in the directory of this file.
(expand-file-name executable))))
"Filename of the epdfinfo executable."
:group 'pdf-info