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/lispintro | |
| 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/lispintro')
| -rw-r--r-- | doc/lispintro/emacs-lisp-intro.texi | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index 55c3ef4e09e..70ddb81c776 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi | |||
| @@ -17909,10 +17909,10 @@ file that set values: | |||
| 17909 | @group | 17909 | @group |
| 17910 | ;; Set calendar highlighting colors | 17910 | ;; Set calendar highlighting colors |
| 17911 | (setq calendar-load-hook | 17911 | (setq calendar-load-hook |
| 17912 | '(lambda () | 17912 | (lambda () |
| 17913 | (set-face-foreground 'diary-face "skyblue") | 17913 | (set-face-foreground 'diary-face "skyblue") |
| 17914 | (set-face-background 'holiday-face "slate blue") | 17914 | (set-face-background 'holiday-face "slate blue") |
| 17915 | (set-face-foreground 'holiday-face "white"))) | 17915 | (set-face-foreground 'holiday-face "white"))) |
| 17916 | @end group | 17916 | @end group |
| 17917 | @end smallexample | 17917 | @end smallexample |
| 17918 | 17918 | ||
| @@ -20947,7 +20947,7 @@ not yet seen, @code{mapcar} and @code{lambda}. | |||
| 20947 | @group | 20947 | @group |
| 20948 | (defun one-fiftieth (full-range) | 20948 | (defun one-fiftieth (full-range) |
| 20949 | "Return list, each number one-fiftieth of previous." | 20949 | "Return list, each number one-fiftieth of previous." |
| 20950 | (mapcar '(lambda (arg) (/ arg 50)) full-range)) | 20950 | (mapcar (lambda (arg) (/ arg 50)) full-range)) |
| 20951 | @end group | 20951 | @end group |
| 20952 | @end smallexample | 20952 | @end smallexample |
| 20953 | 20953 | ||
| @@ -21168,7 +21168,7 @@ and the second argument is @code{full-range}, which will be bound to | |||
| 21168 | The whole expression looks like this: | 21168 | The whole expression looks like this: |
| 21169 | 21169 | ||
| 21170 | @smallexample | 21170 | @smallexample |
| 21171 | (mapcar '(lambda (arg) (/ arg 50)) full-range)) | 21171 | (mapcar (lambda (arg) (/ arg 50)) full-range)) |
| 21172 | @end smallexample | 21172 | @end smallexample |
| 21173 | 21173 | ||
| 21174 | @xref{Mapping Functions, , Mapping Functions, elisp, The GNU Emacs | 21174 | @xref{Mapping Functions, , Mapping Functions, elisp, The GNU Emacs |
| @@ -21840,7 +21840,7 @@ each column." | |||
| 21840 | @group | 21840 | @group |
| 21841 | (defun one-fiftieth (full-range) | 21841 | (defun one-fiftieth (full-range) |
| 21842 | "Return list, each number of which is 1/50th previous." | 21842 | "Return list, each number of which is 1/50th previous." |
| 21843 | (mapcar '(lambda (arg) (/ arg 50)) full-range)) | 21843 | (mapcar (lambda (arg) (/ arg 50)) full-range)) |
| 21844 | @end group | 21844 | @end group |
| 21845 | @end smallexample | 21845 | @end smallexample |
| 21846 | 21846 | ||