> Stefan Kangas writes: > We should keep in mind that this will break if the package is not > installed using package.el, as then > (cadr (assq 'matlab-mode package-alist)) ;=> nil > and thus > (package-desc-version nil) ;!> (wrong-type-argument package-desc nil) > 1+ to this. The custom commands for version numbers are an anti-pattern IMO. Ok I leave it to you two to sort this out, I do whatever the consensus is. > Uwe Brauer via Matlab-emacs-discuss > > writes: > That might very well be, I used a local checkout that ELPA made when > experimenting with the package, and it appears that was not the newest > version. > What is the name of the MELPA package? If it is called "matlab", then > by default ELPA will consult the "matlab.el" file for version > information. Otherwise it will consult "matlab-mode.el". We can adjust > this though if need be in the package specification. It is called now matlab-mode! > It doesn't go through the logs, it just searches for a copyright string > somewhere in the header. But in header just in matlab-mode.el or in all files? I repeat the question I asked Stefan Ok, last nitpicking question, right now the header reads ;; Copyright (C) 1997-2024 Eric M. Ludlam ;; Copyright (C) 1991-1997 Matthew R. Wette All authors/contributers signed the FSF paper, the last one in January 2024, So should I replace that by ;; Copyright (C) 1991-2024 Free Software Foundation, Inc. And delete the other authors? or shall I just use the year 2024? because it was the year the last remaining contributor signed? Uwe -- I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel I strongly condemn Putin's war of aggression against Ukraine. I support to deliver weapons to Ukraine's military. I support the EU and NATO membership of Ukraine.