]> git.eshelyaron.com Git - emacs.git/commitdiff
* doc/lispref/package.texi (Multi-file Packages): Document ".elpaignore".
authorJim Porter <jporterbugs@gmail.com>
Thu, 3 Aug 2023 04:51:18 +0000 (21:51 -0700)
committerEshel Yaron <me@eshelyaron.com>
Wed, 31 Jan 2024 20:09:40 +0000 (21:09 +0100)
(cherry picked from commit 744a10a4d722a361bc21561b4162045e4ec97ed6)

doc/lispref/package.texi

index 6f52a33d1949e86aad3133edd14983caf74e676b..ebe578932bfb7a86a22781fdef389dc514d7ff44 100644 (file)
@@ -284,6 +284,13 @@ variable @code{load-file-name} (@pxref{Loading}).  Here is an example:
   (expand-file-name file superfrobnicator-base))
 @end smallexample
 
+  If your project contains files that you don't wish to distribute to
+users (e.g.@: regression tests), you can add them to an
+@file{.elpaignore} file.  In this file, each line lists a file or
+wildcard matching files to ignore when producing your package's tar
+file on ELPA.  (ELPA will pass this file to @command{tar} with the
+@code{-X} option.)
+
 @node Package Archives
 @section Creating and Maintaining Package Archives
 @cindex package archive