Commit a381021f authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: when allow_tabs is FALSE, allow_files is irrelevant

In that case setting the latter to TRUE is misleading.  So don't do that.
No related merge requests found
Showing with 5 additions and 5 deletions
+5 -5
......@@ -672,7 +672,7 @@ int filesearch_init(void)
/* This is now one simple call. It just does a lot. */
input = do_prompt(FALSE,
#ifndef DISABLE_TABCOMP
TRUE,
FALSE,
#endif
MWHEREISFILE, NULL,
#ifndef DISABLE_HISTORIES
......
......@@ -149,7 +149,7 @@ int search_init(bool replacing, bool use_answer)
/* This is now one simple call. It just does a lot. */
i = do_prompt(FALSE,
#ifndef DISABLE_TABCOMP
TRUE,
FALSE,
#endif
replacing ? MREPLACE : MWHEREIS, backupstring,
#ifndef DISABLE_HISTORIES
......@@ -787,7 +787,7 @@ void do_replace(void)
i = do_prompt(FALSE,
#ifndef DISABLE_TABCOMP
TRUE,
FALSE,
#endif
MREPLACEWITH, NULL,
#ifndef DISABLE_HISTORIES
......@@ -856,7 +856,7 @@ void do_gotolinecolumn(ssize_t line, ssize_t column, bool use_answer,
/* Ask for the line and column. */
int i = do_prompt(FALSE,
#ifndef DISABLE_TABCOMP
TRUE,
FALSE,
#endif
MGOTOLINE, use_answer ? answer : NULL,
#ifndef DISABLE_HISTORIES
......
......@@ -2666,7 +2666,7 @@ bool do_int_spell_fix(const char *word)
/* Let the user supply a correctly spelled alternative. */
proceed = (do_prompt(FALSE,
#ifndef DISABLE_TABCOMP
TRUE,
FALSE,
#endif
MSPELL, word,
#ifndef DISABLE_HISTORIES
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment