From: Eli Zaretskii Date: Fri, 16 Jul 2021 11:30:12 +0000 (+0300) Subject: Fix wording in a recent ELisp manual change X-Git-Tag: emacs-28.0.90~1842 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7176407c0127426fcaf28fe3c151156379a59209;p=emacs.git Fix wording in a recent ELisp manual change * doc/lispref/tips.texi (Coding Conventions): Fix wording in a recent change. (Bug#21440) --- diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi index a35847a74db..8aa225a00c3 100644 --- a/doc/lispref/tips.texi +++ b/doc/lispref/tips.texi @@ -168,12 +168,12 @@ follow the naming conventions for hooks. @xref{Hooks}. @item @cindex unloading packages, preparing for -@code{unload-feature} will normally undo normal changes done by -loading a feature (like adding adds functions to hooks). However, if -loading @var{feature} does something more complex, define a function -@code{@var{feature}-unload-function}, and make it undo any such -changes. @code{unload-feature} will run this function. -@xref{Unloading}. +Using @code{unload-feature} will undo the changes usually done by +loading a feature (like adding functions to hooks). However, if +loading @var{feature} does something unusual and more complex, you can +define a function named @code{@var{feature}-unload-function}, and make +it undo any such special changes. @code{unload-feature} will then +automatically run this function if it exists. @xref{Unloading}. @item It is a bad idea to define aliases for the Emacs primitives. Normally