# HG changeset patch # User Thomas Weber # Date 1298229183 0 # Node ID 2395c661ec0c0169d6345a485ea00fc76d2024b1 # Parent e4dbfe3019b1e15c54d0438e0cb3c746fe01ff50 Document the Octave:autoload-relative-file-name warning. diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2011-02-20 Thomas Weber + + * miscellaneous/warning_ids.m: Document + Octave::autoload-relative-file-name warning. + 2010-02-19 Rik * io/dlmwrite.m, pkg/get_forge_pkg.m, plot/__gnuplot_ginput__.m, diff --git a/scripts/miscellaneous/warning_ids.m b/scripts/miscellaneous/warning_ids.m --- a/scripts/miscellaneous/warning_ids.m +++ b/scripts/miscellaneous/warning_ids.m @@ -109,6 +109,15 @@ ## compatibility. By default, the @code{Octave:associativity-change} ## warning is enabled. ## +## @item Octave:autoload-relative-file-name +## If the @code{Octave:autoload-relative-file-name} is enabled, +## Octave will warn when parsing autoload() function calls with relative +## paths to function files. This usually happens when using autoload() +## calls in PKG_ADD files, when the PKG_ADD file is not in the same +## directory as the .oct file referred to by the autoload() command. +## By default, the @code{Octave:autoload-relative-file-name} +## warning is enabled. +## ## @item Octave:divide-by-zero ## If the @code{Octave:divide-by-zero} warning is enabled, a ## warning is issued when Octave encounters a division by zero. By