diff options
| author | Eli Zaretskii | 2016-11-07 19:39:54 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-11-07 19:39:54 +0200 |
| commit | 8da810f91b11a258a7ed0f5315292143072881d8 (patch) | |
| tree | 2f701fd1856cb1a88ff2a879dd5b1df2d6513076 | |
| parent | 4f478ca04be6d9b87b25e0a16a6beef300504fb1 (diff) | |
| download | emacs-8da810f91b11a258a7ed0f5315292143072881d8.tar.gz emacs-8da810f91b11a258a7ed0f5315292143072881d8.zip | |
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)
| -rw-r--r-- | doc/lispref/tips.texi | 8 |
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}. | |||
| 165 | @item | 165 | @item |
| 166 | @cindex unloading packages, preparing for | 166 | @cindex unloading packages, preparing for |
| 167 | If loading the file adds functions to hooks, define a function | 167 | If loading the file adds functions to hooks, define a function |
| 168 | @code{@var{feature}-unload-hook}, where @var{feature} is the name of | 168 | @code{@var{feature}-unload-function}, where @var{feature} is the name |
| 169 | the feature the package provides, and make it undo any such changes. | 169 | of the feature the package provides, and make it undo any such |
| 170 | Using @code{unload-feature} to unload the file will run this function. | 170 | changes. Using @code{unload-feature} to unload the file will run this |
| 171 | @xref{Unloading}. | 171 | function. @xref{Unloading}. |
| 172 | 172 | ||
| 173 | @item | 173 | @item |
| 174 | It is a bad idea to define aliases for the Emacs primitives. Normally | 174 | It is a bad idea to define aliases for the Emacs primitives. Normally |