Skip to content

Commit

Permalink
* lisp/emacs-lisp/package.el (package-built-in-p): Treat a min-versio…
Browse files Browse the repository at this point in the history
…n of

0 like nil.
  • Loading branch information
monnier committed Mar 28, 2014
1 parent 8dfa786 commit ee6c02b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions lisp/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>

* emacs-lisp/package.el (package-built-in-p): Treat a min-version of
0 like nil.

2014-03-27 Dmitry Gutov <dgutov@yandex.ru>

* progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
special globals with font-lock-builtin-face. (Bug#17057)
* progmodes/ruby-mode.el (ruby-font-lock-keywords):
Highlight special globals with font-lock-builtin-face. (Bug#17057)

* progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Don't propertize `?' or `!' as symbol constituent when after
Expand Down
2 changes: 1 addition & 1 deletion lisp/emacs-lisp/package.el
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ specifying the minimum acceptable version."
(let ((bi (assq package package--builtin-versions)))
(cond
(bi (version-list-<= min-version (cdr bi)))
(min-version nil)
((remove 0 min-version) nil)
(t
(require 'finder-inf nil t) ; For `package--builtins'.
(assq package package--builtins))))))
Expand Down

0 comments on commit ee6c02b

Please sign in to comment.