Skip to content

Commit

Permalink
Allow exec-path search to find external program
Browse files Browse the repository at this point in the history
  • Loading branch information
justbur committed Aug 29, 2015
1 parent 941584d commit a8dcccb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions wcheck-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -2022,9 +2022,10 @@ a (valid) value for the KEY then query the value from
(defun wcheck--program-executable-p (program)
"Return t if PROGRAM is executable regular file."
(and (stringp program)
(file-regular-p program)
(file-executable-p program)
t))
(or (and (file-regular-p program)
(file-executable-p program))
(executable-find program))))



(defun wcheck--program-configured-p (language)
Expand Down

0 comments on commit a8dcccb

Please sign in to comment.