mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
* yasnippet.el (yas-about): Fix compile warnings in previous commit.
This commit is contained in:
parent
ca04f69c10
commit
1babe81f7e
@ -1984,7 +1984,10 @@ 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"))))
|
||||||
(when (and (featurep 'package) (fboundp 'package-desc-version))
|
(when (and (featurep 'package)
|
||||||
|
(fboundp 'package-desc-version)
|
||||||
|
(fboundp 'package-version-join))
|
||||||
|
(defvar package-alist)
|
||||||
(ignore-errors
|
(ignore-errors
|
||||||
(let* ((yas-pkg (cdr (assq 'yasnippet package-alist)))
|
(let* ((yas-pkg (cdr (assq 'yasnippet package-alist)))
|
||||||
(version (package-version-join
|
(version (package-version-join
|
||||||
|
Loading…
x
Reference in New Issue
Block a user