lang/cc: kill emacs-spawned rdm on quit #305
This commit is contained in:
parent
649c9649c1
commit
10110ad9d2
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue