Skip to content

Commit

Permalink
Merge pull request vedang#290 from thblt/master
Browse files Browse the repository at this point in the history
Support Git clone installation (closes vedang#287)
  • Loading branch information
politza committed Jul 21, 2017
2 parents f314597 + e35c958 commit 804d992
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lisp/pdf-info.el
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
:group 'pdf-tools)

(defcustom pdf-info-epdfinfo-program
(expand-file-name (if (eq system-type 'windows-nt)
"epdfinfo.exe"
"epdfinfo")
(file-name-directory
(or load-file-name default-directory)))
(expand-file-name (if (eq system-type 'windows-nt) "epdfinfo.exe" "epdfinfo")
(let ((dir (file-name-directory (or load-file-name default-directory))))
(cl-find-if 'file-exists-p
`(,(expand-file-name "../server" dir)
,dir))))
"Filename of the epdfinfo executable."
:group 'pdf-info
:type '(file :must-match t))
Expand Down

0 comments on commit 804d992

Please sign in to comment.