mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
* use-package-core.el (use-package): fix declare style
use-package specified lisp-indent-function to indent like defun. Currently, use-package main macro specify indent as (declare (indent 1)), then change indent mode like defun. (declare (indent defun)) is same effect. And it is useful when redefining use-package.
This commit is contained in:
parent
3e36cbfb6d
commit
8fe0ac2983
@ -1562,7 +1562,7 @@ this file. Usage:
|
||||
:custom-face Call `customize-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
|
||||
@ -1581,8 +1581,6 @@ this file. Usage:
|
||||
(when use-package-compute-statistics
|
||||
`((use-package-statistics-gather :use-package ',name t)))))))
|
||||
|
||||
(put 'use-package 'lisp-indent-function 'defun)
|
||||
|
||||
(provide 'use-package-core)
|
||||
|
||||
;; Local Variables:
|
||||
|
Loading…
Reference in New Issue
Block a user