| Index: tools/emacs/trybot.el
|
| diff --git a/tools/emacs/trybot.el b/tools/emacs/trybot.el
|
| index b3820df6f9f3df993bcae9e375b777c7c10aa6e3..6bc966fff711cc10375f5423a2896a1aafb24ef6 100644
|
| --- a/tools/emacs/trybot.el
|
| +++ b/tools/emacs/trybot.el
|
| @@ -149,7 +149,10 @@
|
| (clipboard-yank)
|
| (setq url (buffer-string))))
|
|
|
| - ;; TODO: fixup URL to append /text if necessary.
|
| + ;; Append /text to the URL to get plain text output in the common
|
| + ;; case of getting a URL to the HTML build log.
|
| + (when (equal "stdio" (car (last (split-string url "/"))))
|
| + (setq url (concat url "/text")))
|
|
|
| (let ((type-hint (cond ((string-match "/win/" url) 'win)
|
| ((string-match "/mac/" url) 'mac)
|
|
|