setup: Find locally-installed Emacs packages.
authorMark Wooding <mdw@chiark.greenend.org.uk>
Mon, 13 Mar 2006 13:33:32 +0000 (13:33 +0000)
committerMark Wooding <mdw@chiark.greenend.org.uk>
Mon, 13 Mar 2006 13:34:30 +0000 (13:34 +0000)
setup

diff --git a/setup b/setup
index cec2351..78adb5d 100755 (executable)
--- a/setup
+++ b/setup
@@ -162,6 +162,7 @@ echo "Installing Emacs packages..."
 for elib in make-regexp; do
   $echon "  $elib:$echoc"
   if $false emacs >/dev/null 2>&1 --batch --eval '
+       (setq load-path (nconc load-path (list "~/lib/emacs")))
        (kill-emacs (condition-case nil
                       (progn (load-library "make-regexp") 0)
                     (error 1)))'; then