branch: master
commit c7948943155eb712eb5aa1eeae8b50c8bb2eca13
Merge: 2149f3a e043ddd
Author: Leo Liu <sdl....@gmail.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #146 from garyo/master
    
    Strip CR as well as newline from subprocess output
---
 ggtags.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ggtags.el b/ggtags.el
index d8bd458..c9e79e7 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -454,7 +454,7 @@ Set to nil to disable tag highlighting."
                        (ggtags-program-path program) nil t nil args))
           (output (progn
                     (goto-char (point-max))
-                    (skip-chars-backward " \t\n")
+                    (skip-chars-backward " \t\n\r")
                     (buffer-substring (point-min) (point)))))
       (or (zerop exit)
           (error "`%s' non-zero exit: %s" program output))

Reply via email to