branch: externals/gtags-mode commit f312adbbab59a407dea36510c6ce34f55f4f53a1 Author: Jimmy Aguilar Mena <kratsbinov...@gmail.com> Commit: Jimmy Aguilar Mena <kratsbinov...@gmail.com>
Use match-string-no-properties is better. --- gtags-mode.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtags-mode.el b/gtags-mode.el index 267d046096..5e8a1f887e 100644 --- a/gtags-mode.el +++ b/gtags-mode.el @@ -194,10 +194,10 @@ name, code, file, line." (lambda (line) (when (string-match gtags-mode--output-format-regex line) (funcall creator - (match-string 1 line) ;; name - (match-string 4 line) ;; code - (match-string 3 line) ;; file - (string-to-number (match-string 2 line))))) ;; line + (match-string-no-properties 1 line) ;; name + (match-string-no-properties 4 line) ;; code + (match-string-no-properties 3 line) ;; file + (string-to-number (match-string-no-properties 2 line))))) ;; line (gtags-mode--exec-sync (append args gtags-mode--output-format-options) symbol))))