]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge pull request from conao3/fix-declare-style
authorJohn Wiegley <johnw@newartisans.com>
Sun, 7 Aug 2022 15:58:26 +0000 (08:58 -0700)
committerGitHub <noreply@github.com>
Sun, 7 Aug 2022 15:58:26 +0000 (08:58 -0700)
GitHub-reference: https://github.com/jwiegley/use-package/issues/760

1  2 
lisp/use-package/use-package-core.el

index 36d5ccb977b8482340f4c66551698c09294aeaa6,99ddc56eb458a0fa1a8cc6d2c5a05c68bf49b4cd..2859e3382cadd7950fbfc91ec102f41995ee278f
@@@ -1657,13 -1558,11 +1657,13 @@@ this file.  Usage
  :load-path       Add to the `load-path' before attempting to load the package.
  :diminish        Support for diminish.el (if installed).
  :delight         Support for delight.el (if installed).
 -:custom          Call `customize-set-variable' with each variable definition.
 -:custom-face     Call `customize-set-faces' with each face definition.
 +:custom          Call `Custom-set' or `set-default' with each variable
 +                 definition without modifying the Emacs `custom-file'.
 +                 (compare with `custom-set-variables').
 +:custom-face     Call `custom-set-faces' with each face definition.
  :ensure          Loads the package using package.el if necessary.
  :pin             Pin the package to an archive."
-   (declare (indent 1))
+   (declare (indent defun))
    (unless (memq :disabled args)
      (macroexp-progn
       (use-package-concat