melpa / package-build

Tools for assembling a package archive
https://github.com/melpa/melpa
25 stars 34 forks source link

use cl-defclass rather than defclass #43

Closed emacs18 closed 3 years ago

emacs18 commented 3 years ago

Move away from deprecated names from old cl ot newer cl-lib names.

Also added missing interactive prompt.

tarsius commented 3 years ago

As far as I can tell neither 27.1 nor the master branch define cl-defclass. What emacs version do you use? Can you point me to the definition of this macro?

tarsius commented 3 years ago

The prompt isn't right, it only allows overriding an existing file, but not creating a new one. I have pushed 2807a0a434616c4c7a7039316f7b1e3a352c0c58 to address this issue.

emacs18 commented 3 years ago

Sorry. I confused defclass with defmethod. You are right there is no cl-defclass.