From 93b0063626c54ab976b2c8f2dba8cd9d25e18bd4 Mon Sep 17 00:00:00 2001 From: Anders Bakken Date: Fri, 25 Aug 2017 14:10:41 -0700 Subject: [PATCH] Fix issue #1035 and issue #1035. --- src/rtags.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rtags.el b/src/rtags.el index c70ceb6b7..230e3a9c0 100644 --- a/src/rtags.el +++ b/src/rtags.el @@ -1292,7 +1292,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) - (unless silent + (unless noerror (message "%s not indexed" (or path "buffer"))) (erase-buffer) (setq rtags-last-request-not-indexed t)) @@ -1409,7 +1409,7 @@ Uses `completing-read' to ask for the project." (let* ((path (rtags-buffer-file-name)) (object (with-temp-buffer (and location - (rtags-call-rc :path path :noerror t :silent-query silent :silent silent "-U" location "--elisp" + (rtags-call-rc :path path :noerror t :silent-query silent "-U" location "--elisp" (unless relative-filenames "-K") (when parents "--symbol-info-include-parents") (when references "--symbol-info-include-references")