lang/cc: don't complain about missing rtags executable
This commit is contained in:
parent
30e0ab6aef
commit
158c853e63
2 changed files with 3 additions and 2 deletions
|
@ -92,7 +92,8 @@ compilation dbs."
|
|||
;;;###autoload
|
||||
(defun +cc|init-rtags ()
|
||||
"Start an rtags server in c-mode and c++-mode buffers."
|
||||
(when (memq major-mode '(c-mode c++-mode))
|
||||
(when (and (memq major-mode '(c-mode c++-mode))
|
||||
(rtags-executable-find "rtags"))
|
||||
(rtags-start-process-unless-running)))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue