mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/cc: fix rtags-cancel-process preventing emacs quit
This commit is contained in:
@ -214,7 +214,7 @@ compilation database is present in the project.")
|
||||
(message "Starting rtags server")
|
||||
(rtags-start-process-unless-running)
|
||||
;; 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"))))
|
||||
(if (/= (length bins) 2)
|
||||
|
Reference in New Issue
Block a user