help: don't check for confinement when opening a temporary help-text file

This fixes https://savannah.gnu.org/bugs/?56369.
master
Benno Schulenberg 2019-05-23 12:43:31 +02:00
parent 2f1691079e
commit acd23551c3
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ bool open_buffer(const char *filename, bool new_buffer)
as_an_at = FALSE;
#ifdef ENABLE_OPERATINGDIR
if (outside_of_confinement(filename, FALSE)) {
if (!inhelp && outside_of_confinement(filename, FALSE)) {
statusline(ALERT, _("Can't read file from outside of %s"),
operating_dir);
return FALSE;