From: John Wiegley Date: Thu, 7 Dec 2017 21:23:36 +0000 (-0800) Subject: Fix the tests X-Git-Tag: emacs-29.0.90~1306^2~15^2~105 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=93231ecbab5a3567fbc5fb3e0c75df6dee983a07;p=emacs.git Fix the tests --- diff --git a/test/lisp/use-package/use-package-tests.el b/test/lisp/use-package/use-package-tests.el index 08ac5293a99..f1e6bb00165 100644 --- a/test/lisp/use-package/use-package-tests.el +++ b/test/lisp/use-package/use-package-tests.el @@ -1087,7 +1087,7 @@ :hook (emacs-lisp-mode . function)) `(progn (eval-and-compile - (add-to-list 'load-path "/Users/johnw/.emacs.d/foo")) + (add-to-list 'load-path ,(pred stringp))) (eval-after-load 'elisp-mode '(progn (unless (fboundp 'function) @@ -1103,7 +1103,7 @@ :hook (emacs-lisp-mode . (lambda () (function)))) `(progn (eval-and-compile - (add-to-list 'load-path "/Users/johnw/.emacs.d/foo")) + (add-to-list 'load-path ,(pred stringp))) (eval-after-load 'elisp-mode '(progn (require 'erefactor nil nil)