aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKévin Le Gouguec2022-12-27 15:40:43 +0100
committerStefan Kangas2022-12-31 10:48:48 +0100
commit01acecc79c39538b8ed8789afd5ef6dc8facd4f3 (patch)
tree99c430e881d754e2483ad9327c35c5e7da6d69d2
parent2a7e072e5396d00c17b7d2a12ce867138f6f8c19 (diff)
downloademacs-01acecc79c39538b8ed8789afd5ef6dc8facd4f3.tar.gz
emacs-01acecc79c39538b8ed8789afd5ef6dc8facd4f3.zip
Simplify introduction of use-package manual
* doc/misc/use-package.texi (Getting Started): Do not advise requiring the package, since the macro is autoloaded; also correct the macro's name. (Bug#60366)
-rw-r--r--doc/misc/use-package.texi16
1 files changed, 3 insertions, 13 deletions
diff --git a/doc/misc/use-package.texi b/doc/misc/use-package.texi
index c587d23d74b..1d0e38a1eca 100644
--- a/doc/misc/use-package.texi
+++ b/doc/misc/use-package.texi
@@ -132,19 +132,9 @@ do.
132@cindex quick-start instructions 132@cindex quick-start instructions
133 133
134This chapter provides instructions and examples for quickly getting 134This chapter provides instructions and examples for quickly getting
135started with use-package. The first thing you need to do is make sure 135started with use-package. In this manual, we say that each call to
136that @file{use-package} itself is loaded. To do that, put this at the 136the @code{use-package} macro in your init file is a @dfn{declaration},
137top of your init file: 137to highlight the declarative nature of its syntax.
138
139@lisp
140(require 'use-package)
141@end lisp
142
143@cindex declaration
144The above makes the @code{use-macro} available for us in the rest of
145your init file. In this manual, we say that each call to
146@code{use-macro} is a @dfn{declaration}, to highlight the declarative
147nature of its syntax.
148 138
149To unconditionally load a package named @samp{foo}, add the following 139To unconditionally load a package named @samp{foo}, add the following
150declaration to your init file: 140declaration to your init file: