Commit 6d405dce authored by Rüdiger Sonderfeld's avatar Rüdiger Sonderfeld

Extend :builtin to allow matching the complete `emacs-version'.

* el-get-recipes.el: If :builtin is a string use `version<=' to
  compare against `emacs-version'.

Minor version matching is required for `cl-lib' because it is a
builtin in version 24.3.
Signed-off-by: 's avatarRüdiger Sonderfeld <ruediger@c-plusplus.de>
parent a56ba035
......@@ -177,7 +177,8 @@ return 'builtin."
package-or-source))
(builtin (plist-get def :builtin)))
(if (and builtin (>= emacs-major-version builtin))
(if (or (and (integerp builtin) (<= builtin emacs-major-version))
(and (stringp builtin) (version<= builtin emacs-version)))
'builtin
(plist-get def :type))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment