Renamed obeyDraftOption to obeyDraft

master
Henrik Skov Midtiby 17 years ago
parent 9d9d7142fd
commit 5fcc800623
  1. 12
      todonotes.dtx

@ -226,8 +226,8 @@
% |\missingfigure|) are defined as macros with no effect, and thus % |\missingfigure|) are defined as macros with no effect, and thus
% all inserted notes are removed. % all inserted notes are removed.
% %
% \DescribeMacro{obeyDraftOption} % \DescribeMacro{obeyDraft}
% When the option |obeyDraftOption| is given, the package checks % When the option |obeyDraft| is given, the package checks
% if the option |draft| is given (this option is usually given to % if the option |draft| is given (this option is usually given to
% the documentclass). If the |draft| option is given, the % the documentclass). If the |draft| option is given, the
% functionality of the package is enabled and otherwise the effect % functionality of the package is enabled and otherwise the effect
@ -870,8 +870,8 @@
% %
% Toggle whether the package should obey the global draft option. % Toggle whether the package should obey the global draft option.
% \begin{macrocode} % \begin{macrocode}
\newif{\if@todonotes@obeyDraftOption} \newif{\if@todonotes@obeyDraft}
\DeclareOptionX{obeyDraftOption}{\@todonotes@obeyDraftOptiontrue} \DeclareOptionX{obeyDraft}{\@todonotes@obeyDrafttrue}
\newif{\if@todonotes@isDraft} \newif{\if@todonotes@isDraft}
\DeclareOptionX{draft}{\@todonotes@isDrafttrue} \DeclareOptionX{draft}{\@todonotes@isDrafttrue}
% \end{macrocode} % \end{macrocode}
@ -961,11 +961,11 @@
% \begin{macrocode} % \begin{macrocode}
\ProcessOptionsX \ProcessOptionsX
% \end{macrocode} % \end{macrocode}
% If the |obeyDraftOption| is given, check whether the |draft| % If the |obeyDraft| is given, check whether the |draft|
% option is given and enable or disable the functionality of this % option is given and enable or disable the functionality of this
% package. % package.
% \begin{macrocode} % \begin{macrocode}
\if@todonotes@obeyDraftOption \if@todonotes@obeyDraft
\@todonotes@disabledfalse \@todonotes@disabledfalse
\if@todonotes@isDraft \if@todonotes@isDraft
\@todonotes@disabledtrue \@todonotes@disabledtrue

Loading…
Cancel
Save