Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/master' into file
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersbakken committed Feb 26, 2015
2 parents 5e1b5af + ab59ff0 commit d78ee90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rtags.el
Original file line number Diff line number Diff line change
Expand Up @@ -1426,13 +1426,14 @@ References to references will be treated as references to the referenced symbol"
(if restart
(rtags-stop-diagnostics))
(let ((buf (get-buffer-create "*RTags Diagnostics*")))
(unless nodirty (rtags-reparse-file))
(with-current-buffer buf
(rtags-diagnostics-mode))
(if (cond ((not rtags-diagnostics-process) t)
((eq (process-status rtags-diagnostics-process) 'exit) t)
((eq (process-status rtags-diagnostics-process) 'signal) t)
(t nil))
(unless nodirty
(rtags-reparse-file))
(let ((process-connection-type (not rtags-diagnostics-use-pipe))) ;; use a pipe if rtags-diagnostics-use-pipe is t
(setq rtags-diagnostics-process (start-process "RTags Diagnostics" buf (rtags-executable-find "rc") "-m"))
(set-process-filter rtags-diagnostics-process (function rtags-diagnostics-process-filter))
Expand Down

0 comments on commit d78ee90

Please sign in to comment.