Skip to content
Permalink
Browse files

Type of `rtags-rdm-includes` must be list of strings (Fix #1353)

  • Loading branch information
cslux committed Nov 25, 2019
1 parent 7338aad commit ca131c1d76225d516078635ec1cbb32e498d3d3a
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/rtags.el
@@ -121,6 +121,10 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Customizations
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defun rtags-string-list-p (obj)
"Determine if OBJ is a list of strings."
(and (listp obj) (seq-every-p 'stringp obj)))

(defcustom rtags-enabled t
"Whether RTags is enabled. We try to do nothing when it's not."
:type 'boolean
@@ -617,8 +621,8 @@ Note: It is recommended to run each sandbox is separate Emacs process."

(defcustom rtags-rdm-includes ""
"Additional include paths."
:type 'string
:safe 'stringp)
:type '(repeat string)
:safe 'rtags-string-list-p)

(defcustom rtags-process-flags ""
"Flags for rdm."

0 comments on commit ca131c1

Please sign in to comment.
You can’t perform that action at this time.