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:
parent
71963da397
commit
048ac23985
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user