Closed sergeyklay closed 5 years ago
iiuc, why not provide an defalias
for pkg-info-package-version
?
like
(defalias 'bnf-mode-version #'pkg-info-package-version)
(anecdotally, i write a lot of elisp, and didn't know about pkg-info-package-version until now. yesterday, i tried running use-package-version
.)
Frankly speaking, I can't find a compelling reason to duplicate this functionality.
Thanks - merging now!
BTW, I strongly recommend removing the use of
pkg-info
and particularly thebnf-mode-version
function, which is almost the biggest piece of code in this little package. Users can easily calldescribe-package
(built-in) orpkg-info-package-version
interactively if they want to get this information.Originally posted by @purcell in https://github.com/melpa/melpa/pull/6074#issuecomment-475916422