lang/cc: fix rtags-cancel-process preventing emacs quit

This commit is contained in:
Henrik Lissner 2017-12-27 00:42:04 -05:00
parent 0da3c563b7
commit 854b26af28
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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)