mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix void-variable rtags-rdm-binary-name error
This commit is contained in:
@ -191,6 +191,7 @@ compilation database is present in the project.")
|
|||||||
(defun +cc|init-rtags ()
|
(defun +cc|init-rtags ()
|
||||||
"Start an rtags server in c-mode and c++-mode buffers."
|
"Start an rtags server in c-mode and c++-mode buffers."
|
||||||
(when (and (memq major-mode '(c-mode c++-mode))
|
(when (and (memq major-mode '(c-mode c++-mode))
|
||||||
|
(require 'rtags nil t)
|
||||||
(rtags-executable-find rtags-rdm-binary-name))
|
(rtags-executable-find rtags-rdm-binary-name))
|
||||||
(rtags-start-process-unless-running)))
|
(rtags-start-process-unless-running)))
|
||||||
(add-hook 'c-mode-common-hook #'+cc|init-rtags)
|
(add-hook 'c-mode-common-hook #'+cc|init-rtags)
|
||||||
|
Reference in New Issue
Block a user