For some reason certain executables are not being found when I add them to the load patch but others are, while n the same directory. For example I got clang-format under usr/local/bin
and I have
(setq exec-path (append exec-path '("/usr/local/bin")))
(require 'clang-format)
This in my init.el
. It works just fine.
Now I installed hindent for Haskell (https://github.com/commercialhaskell/hindent) and put the executable hindent
also under usr/local/bin
.
In the same fashion I put
(setq exec-path (append exec-path '("/usr/local/bin")))
(require 'hindent)
in my init.el
.
However when I load Emacs (GUI and shell) I will get "cannot open load file: No such file or directory, hindent".
Has this to do with emacs? I don't see why it would produce an error for the one file but not the other.