[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What to use after #'define-package is now obsolete?
From: |
Philip Kaludercic |
Subject: |
Re: What to use after #'define-package is now obsolete? |
Date: |
Wed, 12 Apr 2023 12:07:25 +0000 |
Chen Zhaoyang <chenzhauyang@gmail.com> writes:
> Dear Friends,
>
> It seems that #'define-package is now obsolete (or has been for a while,
> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=ade7a212a882540178d9504e7e0bd3be3bf1fd41):
>
> (defun define-package ( _name-string _version-string
> &optional _docstring _requirements
> &rest _extra-properties)
> "[...]"
> (declare (obsolete nil "29.1") (indent defun))
> (error "Don't call me!"))
>
> Does that mean from now on we just use the constructor
> #'package-desc-create in `foobar-pkg.el' files?
What are you trying to do? It might be that there are some
misconceptions to the point of the -pkg.el file. In general, you don't
need to write these files yourself, as they are either generated by a
package archive or a package manager.