Allow omitting redundant package name
Created by: joewreschnig
In (use-package foobar :quelpa (foobar :repo ...)))
the foobar
to use-package
should always be the same as the foobar
in the recipe. It would be nicer not to have to specify it twice, and just use (use-package foobar :quelpa (:repo ...)))
.
Looking in the code, there's already a case which looks like the intention might be to handle this. However, the pcase
is on (car args)
rather than args
, so (:repo ...)
gets caught by the (pred symbolp)
and returns the original argument list instead. However, I'm not sure if this a bug or handling another real situation.