about summary refs log tree commit diff
path: root/Functions/Calendar
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/Calendar
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/Calendar')
-rw-r--r--Functions/Calendar/age2
-rw-r--r--Functions/Calendar/calendar2
-rw-r--r--Functions/Calendar/calendar_add2
-rw-r--r--Functions/Calendar/calendar_parse2
-rw-r--r--Functions/Calendar/calendar_sort2
5 files changed, 5 insertions, 5 deletions
diff --git a/Functions/Calendar/age b/Functions/Calendar/age
index 160aae4a8..8f6278fa2 100644
--- a/Functions/Calendar/age
+++ b/Functions/Calendar/age
@@ -31,7 +31,7 @@ emulate -L zsh
 zmodload -F zsh/stat b:zstat
 zmodload -i zsh/parameter
 
-autoload -U calendar_scandate
+autoload -Uz calendar_scandate
 
 local -a vals tmp
 
diff --git a/Functions/Calendar/calendar b/Functions/Calendar/calendar
index 48876aa51..00f59981c 100644
--- a/Functions/Calendar/calendar
+++ b/Functions/Calendar/calendar
@@ -13,7 +13,7 @@ local -A reply
 zmodload -i zsh/datetime || return 1
 zmodload -i zsh/zutil || return 1
 
-autoload -U calendar_{add,parse,read,scandate,show,lockfiles}
+autoload -Uz calendar_{add,parse,read,scandate,show,lockfiles}
 
 # Read the calendar file from the calendar-file style
 zstyle -s ':datetime:calendar:' calendar-file calendar || calendar=~/calendar
diff --git a/Functions/Calendar/calendar_add b/Functions/Calendar/calendar_add
index c06deda3a..f71400f04 100644
--- a/Functions/Calendar/calendar_add
+++ b/Functions/Calendar/calendar_add
@@ -21,7 +21,7 @@ local -A reply parse_new parse_old
 local -a match mbegin mend
 local my_uid their_uid
 
-autoload -U calendar_{parse,read,lockfiles}
+autoload -Uz calendar_{parse,read,lockfiles}
 
 while getopts "BL" opt; do
   case $opt in
diff --git a/Functions/Calendar/calendar_parse b/Functions/Calendar/calendar_parse
index b08622a9d..1025a9a25 100644
--- a/Functions/Calendar/calendar_parse
+++ b/Functions/Calendar/calendar_parse
@@ -40,7 +40,7 @@ integer now then replaced firstsched schedrpt
 # may occur multiple times.  We set occurrences[<timestamp>]=disposition.
 local -A occurrences
 
-autoload -U calendar_scandate
+autoload -Uz calendar_scandate
 
 typeset -gA reply
 
diff --git a/Functions/Calendar/calendar_sort b/Functions/Calendar/calendar_sort
index 0eddd12c7..171d4f981 100644
--- a/Functions/Calendar/calendar_sort
+++ b/Functions/Calendar/calendar_sort
@@ -1,7 +1,7 @@
 emulate -L zsh
 setopt extendedglob
 
-autoload -U calendar_{read,scandate,lockfiles}
+autoload -Uz calendar_{read,scandate,lockfiles}
 
 local calendar line REPLY new lockfile
 local -a calendar_entries