mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +08:00
1d30abffb9
Following Emacs' transition to git, the hashes of commits have changed because some commits were edited to remove bzr specific referefences (e.g. revnos in commit messages). Note: the equivalent bzr commit had revno 103620 on trunk, revid cyd@stupidchicken.com-20110310234046-vzsm4s3pjxc1aids. First line of commit: "Fix package.el handling of version numbers like 1.0pre6" * recipes/package.rcp (package): * test/travis-ci.sh: Update hash for last package.el version compatible with Emacs 23.
37 lines
1.6 KiB
Plaintext
37 lines
1.6 KiB
Plaintext
;; Same as "package" except that it takes the version from Emacs 24
|
|
(:name package
|
|
:description "ELPA implementation (\"package.el\") from Emacs 24"
|
|
:builtin "24"
|
|
:type http
|
|
:url "http://repo.or.cz/w/emacs.git/blob_plain/ba08b24186711eaeb3748f3d1f23e2c2d9ed0d09:/lisp/emacs-lisp/package.el"
|
|
:shallow nil
|
|
:features package
|
|
:post-init
|
|
(progn
|
|
;; add package.rcp's old `package-user-dir' to
|
|
;; `package-directory-list', in case there are
|
|
;; packages installed there from before
|
|
(let ((old-package-user-dir
|
|
(expand-file-name
|
|
(convert-standard-filename
|
|
(concat (file-name-as-directory
|
|
default-directory)
|
|
"elpa")))))
|
|
(when (file-directory-p old-package-user-dir)
|
|
(add-to-list 'package-directory-list old-package-user-dir)))
|
|
;; Ensure `package-archives' is defined
|
|
(setq package-archives (bound-and-true-p package-archives))
|
|
;; Ensure needed entries are in `package-archives' without
|
|
;; clobbering what what already there.
|
|
(mapc
|
|
(lambda (pa)
|
|
(add-to-list 'package-archives pa 'append))
|
|
'(("ELPA" . "http://tromey.com/elpa/")
|
|
("melpa" . "http://melpa.org/packages/")
|
|
("gnu" . "http://elpa.gnu.org/packages/")
|
|
("marmalade" . "http://marmalade-repo.org/packages/")
|
|
("SC" . "http://joseito.republika.pl/sunrise-commander/")))))
|
|
|
|
;; Don't init, elpa packages installed by el-get is
|
|
;; initialized from loaddefs (package-initialize)
|