public
Last active

Ignore wiki packages from MELPA

  • Download Gist
ignore-wiki.el
Emacs Lisp
1 2 3 4 5
;; 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))

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

that is a weird way to break compatibility.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.