lang/cc: fix false negatives from rc/rdm checks #1864
This commit is contained in:
parent
91deaa49eb
commit
009cfbcb90
1 changed files with 5 additions and 3 deletions
|
@ -7,9 +7,11 @@
|
||||||
|
|
||||||
(when (require 'rtags nil t)
|
(when (require 'rtags nil t)
|
||||||
;; rtags
|
;; rtags
|
||||||
(let ((bins (cl-remove-if #'executable-find `(,rtags-rdm-binary-name ,rtags-rc-binary-name))))
|
(when-let (bins (cl-remove-if #'rtags-executable-find
|
||||||
(when (/= (length bins) 0)
|
(list rtags-rdm-binary-name
|
||||||
(warn! "Couldn't find the rtag client and/or server programs %s. Disabling rtags support" bins))))
|
rtags-rc-binary-name)))
|
||||||
|
(warn! "Couldn't find the rtag client and/or server programs %s. Disabling rtags support"
|
||||||
|
bins)))
|
||||||
|
|
||||||
;; irony server
|
;; irony server
|
||||||
(when (require 'irony nil t)
|
(when (require 'irony nil t)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue