mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 05:03:04 +00:00
yasnippet.el (yas-about): Use package-get-version
This commit is contained in:
parent
66db827a86
commit
362e9b551d
@ -2074,6 +2074,9 @@ This works by stubbing a few functions, then calling
|
|||||||
(or (ignore-errors (car (let ((default-directory yas--loaddir))
|
(or (ignore-errors (car (let ((default-directory yas--loaddir))
|
||||||
(process-lines "git" "describe"
|
(process-lines "git" "describe"
|
||||||
"--tags" "--dirty"))))
|
"--tags" "--dirty"))))
|
||||||
|
(eval-when-compile
|
||||||
|
(and (fboundp 'package-get-version)
|
||||||
|
(package-get-version)))
|
||||||
(when (and (featurep 'package)
|
(when (and (featurep 'package)
|
||||||
(fboundp 'package-desc-version)
|
(fboundp 'package-desc-version)
|
||||||
(fboundp 'package-version-join))
|
(fboundp 'package-version-join))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user