summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/lispref/tips.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi
index d12de7aee2d..1ba9ad9701f 100644
--- a/doc/lispref/tips.texi
+++ b/doc/lispref/tips.texi
@@ -165,10 +165,10 @@ follow the naming conventions for hooks. @xref{Hooks}.
@item
@cindex unloading packages, preparing for
If loading the file adds functions to hooks, define a function
-@code{@var{feature}-unload-hook}, where @var{feature} is the name of
-the feature the package provides, and make it undo any such changes.
-Using @code{unload-feature} to unload the file will run this function.
-@xref{Unloading}.
+@code{@var{feature}-unload-function}, where @var{feature} is the name
+of the feature the package provides, and make it undo any such
+changes. Using @code{unload-feature} to unload the file will run this
+function. @xref{Unloading}.
@item
It is a bad idea to define aliases for the Emacs primitives. Normally