Declare unused macro package--push obsolete

* lisp/emacs-lisp/package.el (package--push): Declare obsolete.
This commit is contained in:
Stefan Kangas 2019-11-05 15:45:22 +01:00
parent d270d7d4ad
commit d76bc06abc

View file

@ -2773,6 +2773,7 @@ Letters do not insert themselves; instead, they are commands.
"Convenience macro for `package-menu--generate'.
If the alist stored in the symbol LISTNAME lacks an entry for a
package PKG-DESC, add one. The alist is keyed with PKG-DESC."
(declare (obsolete nil "27.1"))
`(unless (assoc ,pkg-desc ,listname)
;; FIXME: Should we move status into pkg-desc?
(push (cons ,pkg-desc ,status) ,listname)))