Last active
December 20, 2015 16:39
-
-
Save milkypostman/6162710 to your computer and use it in GitHub Desktop.
Ignore wiki packages from MELPA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; ignore wiki packages | |
(defadvice package--add-to-archive-contents | |
(around package-filter-wiki-packages (package archive) activate compile) | |
(unless (string-match-p "\\[wiki\\]$" (package-desc-doc (cdr package))) | |
ad-do-it)) |
that is a weird way to break compatibility.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FWIW, you need to replace
packge-desc-doc
withpackage-desc-summary
on recent Emacs snapshot builds.