From 7176407c0127426fcaf28fe3c151156379a59209 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 16 Jul 2021 14:30:12 +0300 Subject: [PATCH] Fix wording in a recent ELisp manual change * doc/lispref/tips.texi (Coding Conventions): Fix wording in a recent change. (Bug#21440) --- doc/lispref/tips.texi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.39.5