mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/cc: kill emacs-spawned rdm on quit #305
This commit is contained in:
@ -211,7 +211,9 @@ compilation database is present in the project.")
|
|||||||
if (string-match-p "/rdm\\_>" cmd)
|
if (string-match-p "/rdm\\_>" cmd)
|
||||||
return t))
|
return t))
|
||||||
(message "Starting rtags server")
|
(message "Starting rtags server")
|
||||||
(rtags-start-process-unless-running)))
|
(rtags-start-process-unless-running)
|
||||||
|
;; Emacs-spawned rdm should be temporary
|
||||||
|
(add-hook 'kill-emacs-hook #'rtags-cancel-process)))
|
||||||
|
|
||||||
(let ((bins (cl-remove-if-not #'executable-find '("rdm" "rc"))))
|
(let ((bins (cl-remove-if-not #'executable-find '("rdm" "rc"))))
|
||||||
(if (/= (length bins) 2)
|
(if (/= (length bins) 2)
|
||||||
|
Reference in New Issue
Block a user