* 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)
committerJim Porter <jporterbugs@gmail.com>
Sat, 27 Jan 2024 20:31:32 +0000 (12:31 -0800)
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