mirror of
https://github.com/correl/melpa.git
synced 2025-03-07 04:45:08 -10:00
Advice is no longer needed as a fix has been pushed to HEAD
This commit is contained in:
parent
ebccd930c6
commit
b526f12dec
1 changed files with 16 additions and 16 deletions
32
melpa.el
32
melpa.el
|
@ -4,7 +4,7 @@
|
||||||
;;
|
;;
|
||||||
;; Author: Donald Ephraim Curtis <dcurtis@milkbox.net>
|
;; Author: Donald Ephraim Curtis <dcurtis@milkbox.net>
|
||||||
;; URL: https://github.com/milkypostman/melpa
|
;; URL: https://github.com/milkypostman/melpa
|
||||||
;; Version: 0.2
|
;; Version: 0.3
|
||||||
;;
|
;;
|
||||||
;;
|
;;
|
||||||
;; Credits:
|
;; Credits:
|
||||||
|
@ -74,31 +74,31 @@ ARCHIVE is the string name of the package archive."
|
||||||
(print requirements))
|
(print requirements))
|
||||||
|
|
||||||
|
|
||||||
;;;###autoload
|
;; ;;;###autoload
|
||||||
(defadvice package-download-tar
|
;; (defadvice package-download-tar
|
||||||
(after package-download-tar-initialize activate compile)
|
;; (after package-download-tar-initialize activate compile)
|
||||||
"initialize the package after compilation"
|
;; "initialize the package after compilation"
|
||||||
(package-initialize))
|
;; (package-initialize))
|
||||||
|
|
||||||
|
|
||||||
;;;###autoload
|
;; ;;;###autoload
|
||||||
(defadvice package-download-single
|
;; (defadvice package-download-single
|
||||||
(after package-download-single-initialize activate compile)
|
;; (after package-download-single-initialize activate compile)
|
||||||
"initialize the package after compilation"
|
;; "initialize the package after compilation"
|
||||||
(package-initialize))
|
;; (package-initialize))
|
||||||
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defadvice package--add-to-archive-contents
|
(defadvice package--add-to-archive-contents
|
||||||
(around package-filter-add-to-archive-contents (package archive)
|
(around package-filter-add-to-archive-contents (package archive)
|
||||||
activate compile)
|
activate compile)
|
||||||
"Add filtering of available packages using `package-filter-function',
|
"Add filtering of available packages using `package-filter-function',
|
||||||
if non-nil."
|
if non-nil."
|
||||||
(when (and package-filter-function
|
(when (and package-filter-function
|
||||||
(funcall package-filter-function
|
(funcall package-filter-function
|
||||||
(car package)
|
(car package)
|
||||||
(package-desc-vers (cdr package))
|
(package-desc-vers (cdr package))
|
||||||
archive))
|
archive))
|
||||||
ad-do-it))
|
ad-do-it))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue