]> git.eshelyaron.com Git - emacs.git/commit
Don't allow nil as a mode function
authorNoam Postavsky <npostavs@gmail.com>
Thu, 26 May 2016 19:09:46 +0000 (15:09 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Mon, 31 Oct 2016 12:49:21 +0000 (08:49 -0400)
commit65c7b42a14c5ad42d4b6c6e6547c793e0ccbfe80
tree5861ba48c09682026cd5e0b6739652bb3bd61c87
parentfc57b342991b94640d5ff565a47b5603adec0a6f
Don't allow nil as a mode function

This means (use-package foopkg :mode (".foo")) will add (".foo"
. foopkg) into auto-mode-alist instead of the broken (".foo" . nil),
this is more consistent with the behaviour of (use-package foopkg
:mode (".foo" ".bar")).
lisp/use-package/use-package.el
test/lisp/use-package/use-package-tests.el