Skip to content

Commit

Permalink
message when buffer is not indexed
Browse files Browse the repository at this point in the history
  • Loading branch information
jhanssen committed Apr 21, 2017
1 parent 15f986b commit 18c6aa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rtags.el
Original file line number Diff line number Diff line change
Expand Up @@ -1263,6 +1263,7 @@ to only call this when `rtags-socket-file' is defined.
(error (concat "RTags protocol version mismatch. This is usually caused by getting rtags.el from melpa\n"
"and installing a new rtags build that modified the protocol. They need to be in sync."))))
((= result rtags-exit-code-not-indexed)
(message "%s not indexed" (or path "buffer"))
(erase-buffer)
(setq rtags-last-request-not-indexed t))
(t)))) ;; other error
Expand Down

0 comments on commit 18c6aa5

Please sign in to comment.