emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 fe85ce1: Unbreak interactive run of a flymake tes


From: João Távora
Subject: [Emacs-diffs] emacs-26 fe85ce1: Unbreak interactive run of a flymake test (bug#29267)
Date: Sun, 12 Nov 2017 07:43:16 -0500 (EST)

branch: emacs-26
commit fe85ce1e16fbdb67d9b241300a2b5baff1bf0164
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Unbreak interactive run of a flymake test (bug#29267)
    
    See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19657#20 for the
    technique used here.
    
    * test/lisp/progmodes/flymake-tests.el (ruby-backend):
    Let-bind abbreviated-home-dir.
---
 test/lisp/progmodes/flymake-tests.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/lisp/progmodes/flymake-tests.el 
b/test/lisp/progmodes/flymake-tests.el
index bc194b6..8eb180a 100644
--- a/test/lisp/progmodes/flymake-tests.el
+++ b/test/lisp/progmodes/flymake-tests.el
@@ -124,7 +124,10 @@ SEVERITY-PREDICATE is used to setup
   ;; Some versions of ruby fail if HOME doesn't exist (bug#29187).
   (let* ((tempdir (make-temp-file "flymake-tests-ruby" t))
          (process-environment (cons (format "HOME=%s" tempdir)
-                                    process-environment)))
+                                    process-environment))
+         ;; And see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19657#20
+         ;; for this particular yuckiness
+         (abbreviated-home-dir nil))
     (unwind-protect
         (flymake-tests--with-flymake ("test.rb")
           (flymake-goto-next-error)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]