diff --git a/.gitignore b/.gitignore index cfcdb5782d..33d966cfd1 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,4 @@ custom-set-variables.el .smex-items network-security.data .last-package-update-day +.dir-locals.el diff --git a/README.org b/README.org index b95f4415ef..a7d26a8ec7 100644 --- a/README.org +++ b/README.org @@ -104,7 +104,7 @@ Here are the *exact steps*, - Download [[https://github.com/redguardtoo/myelpa/archive/stable.zip]] - Extract the zip somewhere, say =~/projs/myelpa= - Make sure a file named =archive-contents= exists in =~/projs/myelpa= -- Uncomment the line =(setq package-archives '(("myelpa" . "~/projs/myelpa/")))= that already in the =~/.emacs.d/lisp/init-elpa.el=, then change path to your own elpa directory +- Uncomment the line containing "myelpa" in =~/.emacs.d/lisp/init-elpa.el=. Path =~/projs/myelpa/= could be modified. - Start Emacs now! Now you are using local package repository =~/projs/melpa=. diff --git a/lisp/init-elpa.el b/lisp/init-elpa.el index cde65a0f21..015a72fe61 100644 --- a/lisp/init-elpa.el +++ b/lisp/init-elpa.el @@ -118,7 +118,7 @@ )) ;; Un-comment below line if you follow "Install stable version in easiest way" -;; (setq package-archives '(("myelpa" . "~/projs/myelpa"))) +;; (setq package-archives '(("localelpa" . "~/.emacs.d/localelpa/") ("myelpa" . "~/projs/myelpa/"))) ;;------------------------------------------------------------------------------ ;; Internal implementation, newbies should NOT touch code below this line!