]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix minor issues in documentation of `use-package'
authorDominik Schrempf <dominik.schrempf@gmail.com>
Thu, 27 Mar 2025 14:54:52 +0000 (15:54 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 31 Mar 2025 08:38:23 +0000 (10:38 +0200)
(Bug#77311)

Copyright-paperwork-exempt: yes
(cherry picked from commit 7a976d1aaf7f555146ea890cc086edefe3f8ef58)

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

index 18181731231605b222c270567c2048874665f303..c41709c4494fa8d4f1887840ebad6f3112d11a9f 100644 (file)
@@ -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.