Update .dir-locals.el
It has been reported that the `byte-compile-error-on-warn' causes
there to be byte-compilation issues when installing the package, as
the setup-pkg.el file doesn't have a lexical-binding or a
no-byte-compile flag.
The other options are copied over from other packages I use.
Add package-vc support to :package
Deprecate passing a map to :bind-into
Add new macro :autoload-this
Fix minor markup mistake in Commentary
Do not require 'elisp-mode' before using it
Regard byte compilation warnings as errors
Add `append*`, `prepend*`, and `remove*` to doc string of `:local-set`.
Suggested changes to use new repeatability.
Add way to repeat the first N arguments.
Instead of just numbers or `t` for `:repeatable`, one can also use
a dotted pair of numbers or of a number and `t`.
This allows the first arguments to be repeated in the body,
if we only want repeat a few arguments while using the
`:ensure` keyword.
For example,
(setup-define :example-local-hook
(lambda (hook function)
`(add-hook ',(setup-get 'hook)
(lambda ()
(add-hook ',hook ,function nil t))))
:documentation "Add FUNCTION to HOOK only in buffers of the current mode."
:debug '(symbolp sexp)
:ensure '(nil func)
:repeatable '(1 . 1))
lets us write it as `(:example-local-hook hook f1 f2 f3 f4 ...)`
without needing to repeat `hook` in the local macro.
Add `&rest` to `:ensure`.
Move `ensure`-ing to a separate function.
Fix "SourceHut" link in README