[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 8da810f: Don't refer to obsolete FEATURE-unload-h
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 8da810f: Don't refer to obsolete FEATURE-unload-hook |
Date: |
Mon, 7 Nov 2016 17:40:03 +0000 (UTC) |
branch: emacs-25
commit 8da810f91b11a258a7ed0f5315292143072881d8
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Don't refer to obsolete FEATURE-unload-hook
* doc/lispref/tips.texi (Coding Conventions): Refer to
FEATURE-unload-function rather than its obsolete variant
FEATURE-unload-hook. (Bug#24890)
---
doc/lispref/tips.texi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi
index d12de7a..1ba9ad9 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
address@hidden@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.
address@hidden
address@hidden@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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 8da810f: Don't refer to obsolete FEATURE-unload-hook,
Eli Zaretskii <=