lang/cc: fix false negatives from rc/rdm checks #1864

This commit is contained in:
Henrik Lissner 2019-10-23 16:07:59 -04:00
parent 91deaa49eb
commit 009cfbcb90
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -7,9 +7,11 @@
(when (require 'rtags nil t)
;; rtags
(let ((bins (cl-remove-if #'executable-find `(,rtags-rdm-binary-name ,rtags-rc-binary-name))))
(when (/= (length bins) 0)
(warn! "Couldn't find the rtag client and/or server programs %s. Disabling rtags support" bins))))
(when-let (bins (cl-remove-if #'rtags-executable-find
(list rtags-rdm-binary-name
rtags-rc-binary-name)))
(warn! "Couldn't find the rtag client and/or server programs %s. Disabling rtags support"
bins)))
;; irony server
(when (require 'irony nil t)