[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 01acecc79c: Simplify introduction of use-package manual
From: |
Stefan Kangas |
Subject: |
emacs-29 01acecc79c: Simplify introduction of use-package manual |
Date: |
Sat, 31 Dec 2022 04:51:14 -0500 (EST) |
branch: emacs-29
commit 01acecc79c39538b8ed8789afd5ef6dc8facd4f3
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
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)
---
doc/misc/use-package.texi | 16 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/doc/misc/use-package.texi b/doc/misc/use-package.texi
index c587d23d74..1d0e38a1ec 100644
--- a/doc/misc/use-package.texi
+++ b/doc/misc/use-package.texi
@@ -132,19 +132,9 @@ do.
@cindex quick-start instructions
This chapter provides instructions and examples for quickly getting
-started with use-package. The first thing you need to do is make sure
-that @file{use-package} itself is loaded. To do that, put this at the
-top of your init file:
-
-@lisp
-(require 'use-package)
-@end lisp
-
-@cindex declaration
-The above makes the @code{use-macro} available for us in the rest of
-your init file. In this manual, we say that each call to
-@code{use-macro} is a @dfn{declaration}, to highlight the declarative
-nature of its syntax.
+started with use-package. In this manual, we say that each call to
+the @code{use-package} macro in your init file is a @dfn{declaration},
+to highlight the declarative nature of its syntax.
To unconditionally load a package named @samp{foo}, add the following
declaration to your init file:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 01acecc79c: Simplify introduction of use-package manual,
Stefan Kangas <=