aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc/dbus.texi
diff options
context:
space:
mode:
authorStefan Monnier2012-10-23 11:06:07 -0400
committerStefan Monnier2012-10-23 11:06:07 -0400
commitd106953274d29b6be4ef7e2c442078c81a52ff2f (patch)
tree1daf5ea3f0c8d0ed1914ba3fc339b1dd23438e20 /doc/misc/dbus.texi
parentf7eac6d887b7768034e40f16dacbb0c8fb569417 (diff)
downloademacs-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/dbus.texi')
-rw-r--r--doc/misc/dbus.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/misc/dbus.texi b/doc/misc/dbus.texi
index 865e99a3aa6..1f9a401df90 100644
--- a/doc/misc/dbus.texi
+++ b/doc/misc/dbus.texi
@@ -1981,7 +1981,7 @@ usually not desired. D-Bus errors in events can be made visible by
1981setting the variable @code{dbus-debug} to @code{t}. They can also be 1981setting the variable @code{dbus-debug} to @code{t}. They can also be
1982handled by a hook function. 1982handled by a hook function.
1983 1983
1984@defvar dbus-event-error-hooks 1984@defvar dbus-event-error-functions
1985This hook variable keeps a list of functions, which are called when a 1985This hook variable keeps a list of functions, which are called when a
1986D-Bus error happens in the event handler. Every function must accept 1986D-Bus error happens in the event handler. Every function must accept
1987two arguments, the event and the error variable caught in 1987two arguments, the event and the error variable caught in
@@ -1997,7 +1997,7 @@ Example:
1997 (message "my-dbus-event-error-handler: %S %S" event error) 1997 (message "my-dbus-event-error-handler: %S %S" event error)
1998 (signal 'file-error (cdr error)))) 1998 (signal 'file-error (cdr error))))
1999 1999
2000(add-hook 'dbus-event-error-hooks 'my-dbus-event-error-handler) 2000(add-hook 'dbus-event-error-functions 'my-dbus-event-error-handler)
2001@end lisp 2001@end lisp
2002@end defvar 2002@end defvar
2003 2003