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 /lisp/progmodes | |
| 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 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/cc-mode.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index 2a000957589..50eaebe4dec 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el | |||
| @@ -1703,7 +1703,9 @@ Key bindings: | |||
| 1703 | (message "Using CC Mode version %s" c-version) | 1703 | (message "Using CC Mode version %s" c-version) |
| 1704 | (c-keep-region-active)) | 1704 | (c-keep-region-active)) |
| 1705 | 1705 | ||
| 1706 | (defvar c-prepare-bug-report-hooks nil) | 1706 | (define-obsolete-variable-alias 'c-prepare-bug-report-hooks |
| 1707 | 'c-prepare-bug-report-hook "24.3") | ||
| 1708 | (defvar c-prepare-bug-report-hook nil) | ||
| 1707 | 1709 | ||
| 1708 | ;; Dynamic variables used by reporter. | 1710 | ;; Dynamic variables used by reporter. |
| 1709 | (defvar reporter-prompt-for-summary-p) | 1711 | (defvar reporter-prompt-for-summary-p) |
| @@ -1770,7 +1772,7 @@ Key bindings: | |||
| 1770 | lookup-syntax-properties)) | 1772 | lookup-syntax-properties)) |
| 1771 | vars) | 1773 | vars) |
| 1772 | (lambda () | 1774 | (lambda () |
| 1773 | (run-hooks 'c-prepare-bug-report-hooks) | 1775 | (run-hooks 'c-prepare-bug-report-hook) |
| 1774 | (insert (format "Buffer Style: %s\nc-emacs-features: %s\n" | 1776 | (insert (format "Buffer Style: %s\nc-emacs-features: %s\n" |
| 1775 | style c-features))))))) | 1777 | style c-features))))))) |
| 1776 | 1778 | ||