branch: externals/yasnippet
commit 362e9b551d7facdcfab552fefe979e28708d7ac1
Author: Stefan Monnier <[email protected]>
Commit: Stefan Monnier <[email protected]>

    yasnippet.el (yas-about): Use `package-get-version`
---
 yasnippet.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/yasnippet.el b/yasnippet.el
index 19f40dd598..b64e48808e 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -2074,6 +2074,9 @@ This works by stubbing a few functions, then calling
            (or (ignore-errors (car (let ((default-directory yas--loaddir))
                                      (process-lines "git" "describe"
                                                     "--tags" "--dirty"))))
+               (eval-when-compile
+                 (and (fboundp 'package-get-version)
+                      (package-get-version)))
                (when (and (featurep 'package)
                           (fboundp 'package-desc-version)
                           (fboundp 'package-version-join))

Reply via email to