lang/cc: fix rtags-cancel-process preventing emacs quit
This commit is contained in:
parent
0da3c563b7
commit
854b26af28
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ compilation database is present in the project.")
|
||||||
(message "Starting rtags server")
|
(message "Starting rtags server")
|
||||||
(rtags-start-process-unless-running)
|
(rtags-start-process-unless-running)
|
||||||
;; Emacs-spawned rdm should be temporary
|
;; Emacs-spawned rdm should be temporary
|
||||||
(add-hook 'kill-emacs-hook #'rtags-cancel-process)))
|
(add-hook! kill-emacs (ignore-errors (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