[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 7176407: Fix wording in a recent ELisp manual change
From: |
Eli Zaretskii |
Subject: |
master 7176407: Fix wording in a recent ELisp manual change |
Date: |
Fri, 16 Jul 2021 07:31:09 -0400 (EDT) |
branch: master
commit 7176407c0127426fcaf28fe3c151156379a59209
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
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 a35847a..8aa225a 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 7176407: Fix wording in a recent ELisp manual change,
Eli Zaretskii <=