branch: master commit e043ddd0140830ebbc99a4b25ba685cb69059af5 Author: Gary Oberbrunner <ga...@genarts.com> Commit: Gary Oberbrunner <ga...@genarts.com>
Strip CR as well as newline from subprocess output This is needed on Windows. --- 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))