Skip to content

Commit ef66f20

Browse files
committed
Document support for INSIDE_EMACS environment variable
1 parent 5720632 commit ef66f20

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/Programs/03-environment-variables.rakudoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,14 @@ X<|Programs,RAKUDO_ERROR_COLOR>
131131
Controls whether to emit ANSI codes for error highlighting. Defaults to true
132132
if unset, except on Windows.
133133

134+
X<|Programs,INSIDE_EMACS>
135+
=item C<INSIDE_EMACS>
136+
137+
Supported as of release 2022.04 of the Rakudo compiler. If specified with
138+
a true value, will B<not> try to load any of the line editing modules in
139+
the C<REPL>. This allows the C<REPL> to be better integrated in the Emacs
140+
environment (which sets this environment variable).
141+
134142
X<|Programs,RAKUDO_MAX_THREADS>
135143
=item C<RAKUDO_MAX_THREADS> (I<UInt>; B<src/core.c/ThreadPoolScheduler.pm6>)
136144

0 commit comments

Comments
 (0)