Skip to content

Commit

Permalink
quote parentheses used in the regexp in `rtags-compile-file'
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilio Lopes committed Jun 12, 2018
1 parent 8bf2257 commit 89d15b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rtags.el
Original file line number Diff line number Diff line change
Expand Up @@ -4483,8 +4483,8 @@ definition."
(let* ((commands (mapcar (lambda (build)
(let ((lines (split-string build "\n" t)))
(cons (combine-and-quote-strings (cdr lines))
(substring (car lines) 5))))
(split-string (buffer-string) "(\n)?pwd: " t)))
(car lines))))
(split-string (buffer-string) "\\(?:\n\\)?pwd: " t)))
(old-compile-command compile-command)
(command (car commands)))
(when (cond ((> (length commands) 1)
Expand Down

0 comments on commit 89d15b3

Please sign in to comment.