Subject: [PATCH] * doc/man/emacs.1.in: Add --init-directory.

From: No Wayman <[email-masked]>
Date: Tue, 07 Jun 2022 22:17:59 -0400

Tags: patch

Thanks for the switch, Lars. Useful for debugging and 
experimenting with new init files.
Saw this in the NEWS file, but did not see it on the man page.
See attached for man page patch.

~Nick

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.34, cairo version 1.17.6)
 of 2022-06-04 built on nbook
Repository revision: e74652386d62a5a6142bf6332e0e4b4aa48c7088
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 
11.0.12101003
System Description: Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --mandir=/usr/share/man 
 --with-gameuser=:games
 --with-modules --without-libotf --without-m17n-flt 
 --without-gconf
 --with-native-compilation --with-xinput2 --with-x-toolkit=gtk3
 --without-xaw3d --with-sound=no --without-gpm
 --without-compress-install
 '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt 
 -fexceptions
 -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
 -fstack-clash-protection -fcf-protection'
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
>From 79178dca352980ad03b04dbba4b5ed1b74acbe11 Mon Sep 17 00:00:00 2001
From: Nicholas Vollmer <[email-masked]>
Date: Tue, 7 Jun 2022 22:14:35 -0400
Subject: [PATCH] * doc/man/emacs.1.in: Add --init-directory.

---
 doc/man/emacs.1.in | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/doc/man/emacs.1.in b/doc/man/emacs.1.in
index 9fdf65e0ff..7b2b553979 100644
--- a/doc/man/emacs.1.in
+++ b/doc/man/emacs.1.in
@@ -1,5 +1,5 @@
 .\" See section COPYING for copyright and redistribution information.
-.TH EMACS 1 "2021-09-28" "GNU Emacs @version@" "GNU"
+.TH EMACS 1 "2022-06-07" "GNU Emacs @version@" "GNU"
 .
 .
 .SH NAME
@@ -117,6 +117,10 @@ Load
 .IR user 's
 init file.
 .TP
+.BI \-\-init\-directory= "directory"
+Start emacs with user-emacs-directory set to
+.IR directory .
+.TP
 .BI \-t " file\fR,\fP " \-\-terminal= "file"
 Use specified
 .I file
-- 
2.36.1