]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix the tests
authorJohn Wiegley <johnw@newartisans.com>
Thu, 7 Dec 2017 21:23:36 +0000 (13:23 -0800)
committerJohn Wiegley <johnw@newartisans.com>
Thu, 7 Dec 2017 21:23:36 +0000 (13:23 -0800)
test/lisp/use-package/use-package-tests.el

index 08ac5293a9910a6f615b5850f4288b3c93aed487..f1e6bb0016573867d093e3ec1eef57bdc6c04a2a 100644 (file)
      :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)
      :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)