Skip to content

Instantly share code, notes, and snippets.

@milkypostman
Last active December 20, 2015 16:39
Show Gist options
  • Save milkypostman/6162710 to your computer and use it in GitHub Desktop.
Save milkypostman/6162710 to your computer and use it in GitHub Desktop.
Ignore wiki packages from MELPA
;; 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))
@swsnr
Copy link

swsnr commented Aug 6, 2013

FWIW, you need to replace packge-desc-doc with package-desc-summary on recent Emacs snapshot builds.

@milkypostman
Copy link
Author

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