|
From: | Jim Porter |
Subject: | bug#65023: 29.1.50; Tramp 2.6.1.1 cannot be installed as ELPA package |
Date: | Sat, 5 Aug 2023 13:34:48 -0700 |
On 8/5/2023 2:19 AM, Michael Albinus wrote:
What could we do? Is it possible to release a small temporary ELPA package which fixes the problem for Emacs 29.1, and Tramp pckages could depend on? Or is it possible to publish a use-package recipe for Tramp ELPA packages?
I'm not sure if it's a good idea or not, but the following advice seems to fix things in Emacs 29.1 for me:
(advice-add #'loaddefs-generate--parse-file :around (lambda (fn file main-outfile package-data) (funcall fn file main-outfile (or package-data t)))This makes the 'package-data' argument never be nil, which avoids running the broken code. I'd be a little worried about publishing this without further testing, but hopefully it (or something like it) could be a solution until 29.2 is released...
[Prev in Thread] | Current Thread | [Next in Thread] |