branch: externals/gtags-mode
commit 82b49040cf9e5913f1d465bf5e89ace18fcd5a01
Author: Philip Kaludercic <[email protected]>
Commit: Jimmy Aguilar Mena <[email protected]>
Two small fixes
---
gtags-mode.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gtags-mode.el b/gtags-mode.el
index 1cfe41e3d7..fa76f38f90 100644
--- a/gtags-mode.el
+++ b/gtags-mode.el
@@ -46,6 +46,7 @@
(require 'xref)
(require 'files-x)
+(eval-when-compile (require 'subr-x))
(defgroup gtags-mode nil
"GNU Global group for xref."
@@ -129,7 +130,7 @@ This is the sentinel set in `gtags-mode--exec-async'."
(with-current-buffer (process-buffer process) ;; In failure print
error
(while (accept-process-output process))
(message "Global async error output:\n%s" (buffer-string))))
- (message "Async %s: %s" (process-get process :command) event)) ;; Notify
always
+ (message "Async %s: %s" (process-get process :command) (string-trim event)))
;; Always notify
(defsubst gtags-mode--quote (args symbol)
"Pre-process ARGS and quote SYMBOL."