1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 15:01:21 +02:00

22911: use QT_BACKSLASH if instring is QT_NONE

This commit is contained in:
Peter Stephenson 2006-10-25 18:01:41 +00:00
parent 71963da397
commit 048ac23985
2 changed files with 4 additions and 1 deletions

@ -1,5 +1,7 @@
2006-10-25 Peter Stephenson <pws@csr.com>
* 22911: Src/Zle/zle_tricky.c: need fix from 22877 here, too.
* arno: Completion/Unix/Command/{_getmail,_yafc,.distfiles}:
two new completions.

@ -417,7 +417,8 @@ mod_export int instring, inbackt;
* This uses the instring variable above.
*/
#define quotename(s, e) quotestring(s, e, instring)
#define quotename(s, e) \
quotestring(s, e, instring == QT_NONE ? QT_BACKSLASH : instring)
/* Check if the given string is the name of a parameter and if this *
* parameter is one worth expanding. */