Use configured variables for rtags binary names
This commit is contained in:
parent
c85565cfef
commit
1f63358947
3 changed files with 7 additions and 6 deletions
|
@ -191,7 +191,7 @@ compilation database is present in the project.")
|
|||
(defun +cc|init-rtags ()
|
||||
"Start an rtags server in c-mode and c++-mode buffers."
|
||||
(when (and (memq major-mode '(c-mode c++-mode))
|
||||
(rtags-executable-find "rdm"))
|
||||
(rtags-executable-find rtags-rdm-binary-name))
|
||||
(rtags-start-process-unless-running)))
|
||||
(add-hook 'c-mode-common-hook #'+cc|init-rtags)
|
||||
:config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue