nflath / c-eldoc

eldoc-mode plugin for C source code
33 stars 15 forks source link

Use executable-find #12

Closed Ambrevar closed 5 years ago

Ambrevar commented 5 years ago

It's good practice not to hard-code the path to commands but to use executable-find instead. For instance:

(defvar c-eldoc-cpp-command (executable-find "/usr/bin/cpp"))
nflath commented 5 years ago

Fixed.