about summary refs log tree commit diff
path: root/Etc
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-11-12 23:39:14 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2016-11-12 23:39:14 -0800
commit9a09f97b60d0c31d2ef4431be06d5e5503d141d4 (patch)
tree54f88f7c3f97e8f42228a07281b85263a553c2ce /Etc
parent20de06dfbc69c7d4dbc953f1794b70ed6bc9aa43 (diff)
downloadzsh-9a09f97b60d0c31d2ef4431be06d5e5503d141d4.tar.gz
zsh-9a09f97b60d0c31d2ef4431be06d5e5503d141d4.tar.xz
zsh-9a09f97b60d0c31d2ef4431be06d5e5503d141d4.zip
unposted: Addenda to list of module hooks
Diffstat (limited to 'Etc')
-rw-r--r--Etc/zsh-development-guide27
1 files changed, 15 insertions, 12 deletions
diff --git a/Etc/zsh-development-guide b/Etc/zsh-development-guide
index fa4b816aa..ecbd3c081 100644
--- a/Etc/zsh-development-guide
+++ b/Etc/zsh-development-guide
@@ -813,7 +813,7 @@ like their counterparts.
 The following hooks are defined by the standard set of modules and may be
 referenced by other modules.  Each has a corresponding macro name that
 points into the definition structure, to avoid repeating the hook names
-as strings:
+as strings.
 
    zsh/main
      after_trap           AFTERTRAPHOOK
@@ -821,19 +821,22 @@ as strings:
      exit                 EXITHOOK
 
    zsh/complete
-     compctl_make         COMPCTLMAKEHOOK
-     compctl_cleanup      COMPCTLCLEANUPHOOK
-     insert_match         INSERTMATCHHOOK
-     comp_list_matches    COMPLISTMATCHESHOOK
-     menu_start           MENUSTARTHOOK
+     compctl_make       *  COMPCTLMAKEHOOK
+     compctl_cleanup    *  COMPCTLCLEANUPHOOK
+     insert_match          INSERTMATCHHOOK
+     comp_list_matches  *  COMPLISTMATCHESHOOK
+     menu_start            MENUSTARTHOOK
 
    zsh/zle
-     before_complete      BEFORECOMPHOOK
-     complete             COMPLETEHOOK
-     after_complete       AFTERCOMPHOOK
-     accept_completion    ACCEPTCOMPHOOK
-     list_matches         LISTMATCHESHOOK
-     invalidate_list      INVALIDATELISTHOOK
+     before_complete    *  BEFORECOMPHOOK
+     complete           *  COMPLETEHOOK
+     after_complete     *  AFTERCOMPHOOK
+     accept_completion  *  ACCEPTCOMPHOOK
+     list_matches       *  LISTMATCHESHOOK
+     invalidate_list    *  INVALIDATELISTHOOK
+
+Hooks marked with "*" do not use the HOOKF_ALL flag and so are replaced if
+another module adds a function to the hook.  Use with caution.
 
 Wrappers
 --------