diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-22 08:42:36 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-22 08:42:36 +0000 |
commit | b9a533f3823c3b6d69fad80a21f573670856823f (patch) | |
tree | eca8b47b9101c1060f41500f9fb23e679ec8f94f /Src/zsh.h | |
parent | 44b34667f844ce57b5b2eba0f2870c1ec7630348 (diff) | |
download | zsh-b9a533f3823c3b6d69fad80a21f573670856823f.tar.gz zsh-b9a533f3823c3b6d69fad80a21f573670856823f.tar.xz zsh-b9a533f3823c3b6d69fad80a21f573670856823f.zip |
allow subscripts for compadd -[ak]; new style for history completion; better list-colors handling (12029)
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/zsh.h b/Src/zsh.h index 293947463..49acf129c 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1629,8 +1629,8 @@ struct heap { # define NEWHEAPS(h) do { Heap _switch_oldheaps = h = new_heaps(); do # define OLDHEAPS while (0); old_heaps(_switch_oldheaps); } while (0); -# define SWITCHHEAPS(h) do { Heap _switch_oldheaps = switch_heaps(h); do -# define SWITCHBACKHEAPS while (0); switch_heaps(_switch_oldheaps); } while (0); +# define SWITCHHEAPS(o, h) do { o = switch_heaps(h); do +# define SWITCHBACKHEAPS(o) while (0); switch_heaps(o); } while (0); /****************/ /* Debug macros */ |