mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/cc: fix stringp errors when loading rtags
Binary checks for rtags expect rtags-rc-binary-name and rtags-rdm-binary-name to always be non-nil.
This commit is contained in:
@ -197,9 +197,11 @@ This is ignored by ccls.")
|
||||
('default))
|
||||
;; These executables are named rtags-* on debian
|
||||
rtags-rc-binary-name
|
||||
(cl-find-if #'executable-find (list rtags-rc-binary-name "rtags-rc"))
|
||||
(or (cl-find-if #'executable-find (list rtags-rc-binary-name "rtags-rc"))
|
||||
rtags-rc-binary-name)
|
||||
rtags-rdm-binary-name
|
||||
(cl-find-if #'executable-find (list rtags-rdm-binary-name "rtags-rdm"))
|
||||
(or (cl-find-if #'executable-find (list rtags-rdm-binary-name "rtags-rdm"))
|
||||
rtags-rdm-binary-name)
|
||||
;; If not using ivy or helm to view results, use a pop-up window rather
|
||||
;; than displaying it in the current window...
|
||||
rtags-results-buffer-other-window t
|
||||
|
Reference in New Issue
Block a user