From: Dominik Schrempf Date: Thu, 27 Mar 2025 14:54:52 +0000 (+0100) Subject: Fix minor issues in documentation of `use-package' X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1f563c18addbf0c5ae787e2d186585757ccd2558;p=emacs.git Fix minor issues in documentation of `use-package' (Bug#77311) Copyright-paperwork-exempt: yes (cherry picked from commit 7a976d1aaf7f555146ea890cc086edefe3f8ef58) --- diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el index 18181731231..c41709c4494 100644 --- a/lisp/use-package/use-package-core.el +++ b/lisp/use-package/use-package-core.el @@ -1704,11 +1704,11 @@ Usage: :magic-fallback Form to be added to `magic-fallback-mode-alist'. :interpreter Form to be added to `interpreter-mode-alist'. -:commands Define autoloads for commands that will be defined by the - package. This is useful if the package is being lazily - loaded, and you wish to conditionally call functions in your +:commands Define autoloads for commands defined by the package. + This is useful if the package is being lazily loaded, + and you wish to conditionally call functions in your `:init' block that are defined in the package. -:autoload Similar to :commands, but it for no-interactive one. +:autoload Similar to `:commands', but used for non-interactive functions. :hook Specify hook(s) to attach this package to. :bind Bind keys, and define autoloads for the bound commands.