jwiegley / use-package

A use-package declaration for simplifying your .emacs
https://jwiegley.github.io/use-package
GNU General Public License v3.0
4.42k stars 260 forks source link

Missing example from README.md #1001

Closed bodea closed 2 years ago

bodea commented 2 years ago

The section on conditional loading ends with a colon, implying that an example will follow:

simply use when around the use-package form itself:

but there is none. There is however a when-wrapped example in the preceding section, which matches the description, and moreover doesn't match the text it currently follows.

I'm guessing that example should be moved down and replaced by something demonstrating :unless.

Added: https://github.com/jwiegley/use-package/commit/5edd195cabc3a7b224f7b37060441348398edef3