diff options
| author | Stefan Monnier | 2012-10-23 11:06:07 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-10-23 11:06:07 -0400 |
| commit | d106953274d29b6be4ef7e2c442078c81a52ff2f (patch) | |
| tree | 1daf5ea3f0c8d0ed1914ba3fc339b1dd23438e20 /doc/misc/mh-e.texi | |
| parent | f7eac6d887b7768034e40f16dacbb0c8fb569417 (diff) | |
| download | emacs-d106953274d29b6be4ef7e2c442078c81a52ff2f.tar.gz emacs-d106953274d29b6be4ef7e2c442078c81a52ff2f.zip | |
Cleanup uses of "-hooks".
* doc/emacs/custom.texi (Hooks):
* doc/lispref/hooks.texi (Standard Hooks): Clarify that -hooks is deprecated.
* lisp/gnus/nndiary.el (nndiary-request-create-group-functions)
(nndiary-request-update-info-functions)
(nndiary-request-accept-article-functions):
* lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-functions):
* lisp/cedet/semantic/db-file.el (semanticdb-save-database-functions):
* lisp/cedet/semantic/lex.el (semantic-lex-reset-functions):
* lisp/cedet/semantic/edit.el (semantic-change-functions)
(semantic-edits-new-change-functions)
(semantic-edits-delete-change-functions)
(semantic-edits-reparse-change-functions):
* lisp/htmlfontify.el (hfy-post-html-hook):
* lisp/filesets.el (filesets-cache-fill-content-hook):
* lisp/arc-mode.el (archive-extract-hook):
* lisp/progmodes/cc-mode.el (c-prepare-bug-report-hook):
* lisp/net/rcirc.el (rcirc-sentinel-functions)
(rcirc-receive-message-functions, rcirc-activity-functions)
(rcirc-print-functions):
* lisp/net/dbus.el (dbus-event-error-functions):
* lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
* lisp/emacs-lisp/checkdoc.el (checkdoc-style-functions)
(checkdoc-comment-style-functions): Don't use "-hooks" suffix.
* lisp/term/sun.el (sun-raw-prefix-hooks):
* lisp/mail/sendmail.el (mail-yank-hooks):
* lisp/mh-e/mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
Diffstat (limited to 'doc/misc/mh-e.texi')
| -rw-r--r-- | doc/misc/mh-e.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/misc/mh-e.texi b/doc/misc/mh-e.texi index f6adc435789..e59b312889d 100644 --- a/doc/misc/mh-e.texi +++ b/doc/misc/mh-e.texi | |||
| @@ -429,7 +429,7 @@ for a description about @dfn{normal hooks} and @dfn{abnormal hooks}. | |||
| 429 | MH-E uses normal hooks in nearly all cases, so you can assume that we | 429 | MH-E uses normal hooks in nearly all cases, so you can assume that we |
| 430 | are talking about normal hooks unless we explicitly mention that a | 430 | are talking about normal hooks unless we explicitly mention that a |
| 431 | hook is abnormal. We also follow the conventions described in that | 431 | hook is abnormal. We also follow the conventions described in that |
| 432 | section: the name of the abnormal hooks end in @code{-hooks} and all | 432 | section: the name of the abnormal hooks end in @code{-functions} and all |
| 433 | the rest of the MH-E hooks end in @code{-hook}. You can add hooks with | 433 | the rest of the MH-E hooks end in @code{-hook}. You can add hooks with |
| 434 | either @code{customize-option} or @code{add-hook}. | 434 | either @code{customize-option} or @code{add-hook}. |
| 435 | 435 | ||
| @@ -3749,9 +3749,9 @@ when you press @key{TAB} when prompted for a folder name. | |||
| 3749 | 3749 | ||
| 3750 | @findex mh-search-p | 3750 | @findex mh-search-p |
| 3751 | @kindex k | 3751 | @kindex k |
| 3752 | @vindex mh-kill-folder-suppress-prompt-hooks | 3752 | @vindex mh-kill-folder-suppress-prompt-functions |
| 3753 | 3753 | ||
| 3754 | The hook @code{mh-kill-folder-suppress-prompt-hooks} is an abnormal | 3754 | The hook @code{mh-kill-folder-suppress-prompt-functions} is an abnormal |
| 3755 | hook run at the beginning of the command @kbd{k}. The hook functions | 3755 | hook run at the beginning of the command @kbd{k}. The hook functions |
| 3756 | are called with no arguments and should return a non-nil value to | 3756 | are called with no arguments and should return a non-nil value to |
| 3757 | suppress the normal prompt when you remove a folder. This is useful | 3757 | suppress the normal prompt when you remove a folder. This is useful |