about summary refs log tree commit diff
path: root/Functions/Zle
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-07-28 14:01:12 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-07-28 14:01:12 +0000
commit4de3dbac168aa5e89d4f7c278917c8af4b226542 (patch)
tree88b3dbdecef8f0ee5c6b110124a8ce6de7699135 /Functions/Zle
parent10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1 (diff)
downloadzsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar.gz
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar.xz
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.zip
c.f. users/15202: use "autoload -Uz" consistently
Diffstat (limited to 'Functions/Zle')
-rw-r--r--Functions/Zle/delete-whole-word-match2
-rw-r--r--Functions/Zle/edit-command-line2
-rw-r--r--Functions/Zle/replace-string2
-rw-r--r--Functions/Zle/replace-string-again2
4 files changed, 4 insertions, 4 deletions
diff --git a/Functions/Zle/delete-whole-word-match b/Functions/Zle/delete-whole-word-match
index 5b31ad5b0..aece86065 100644
--- a/Functions/Zle/delete-whole-word-match
+++ b/Functions/Zle/delete-whole-word-match
@@ -16,7 +16,7 @@ local -a matched_words
 # Start and end of range of characters to remove.
 integer pos1 pos2
 
-autoload -U match-words-by-style
+autoload -Uz match-words-by-style
 match-words-by-style
 
 if [[ -n "${matched_words[3]}" ]]; then
diff --git a/Functions/Zle/edit-command-line b/Functions/Zle/edit-command-line
index 62a59a72e..250cac65f 100644
--- a/Functions/Zle/edit-command-line
+++ b/Functions/Zle/edit-command-line
@@ -1,6 +1,6 @@
 # Edit the command line using your usual editor.
 # Binding this to 'v' in the vi command mode map,
-#   autoload -z edit-command-line
+#   autoload -Uz edit-command-line
 #   zle -N edit-command-line
 #   bindkey -M vicmd v edit-command-line
 # will give ksh-like behaviour for that key,
diff --git a/Functions/Zle/replace-string b/Functions/Zle/replace-string
index 0b08dbae0..bc608e577 100644
--- a/Functions/Zle/replace-string
+++ b/Functions/Zle/replace-string
@@ -1,7 +1,7 @@
 emulate -L zsh
 setopt extendedglob
 
-autoload -U read-from-minibuffer replace-string-again
+autoload -Uz read-from-minibuffer replace-string-again
 
 local p1="Replace: " p2="   with: "
 # Saving curwidget is necessary to avoid the widget name being overwritten.
diff --git a/Functions/Zle/replace-string-again b/Functions/Zle/replace-string-again
index 8f4d23854..83a24167e 100644
--- a/Functions/Zle/replace-string-again
+++ b/Functions/Zle/replace-string-again
@@ -39,7 +39,7 @@ if [[ $curwidget = *(pattern|regex)* ]]; then
     done
     rep2+=$rep
     if [[ $curwidget = *regex* ]]; then
-      autoload -U regexp-replace
+      autoload -Uz regexp-replace
       regexp-replace LBUFFER $_replace_string_src $rep2
       regexp-replace RBUFFER $_replace_string_src $rep2
     else