diff options
| author | Glenn Morris | 2012-02-29 23:31:15 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-02-29 23:31:15 -0800 |
| commit | 90db9af94141ca20c79aa40d4c25f967f0c946f2 (patch) | |
| tree | fb2d621cd61fbca34a53a94fd2848108d12af575 | |
| parent | 53a1239b3140da8b1beccfefd9ca65e5bc0baefa (diff) | |
| download | emacs-90db9af94141ca20c79aa40d4c25f967f0c946f2.tar.gz emacs-90db9af94141ca20c79aa40d4c25f967f0c946f2.zip | |
* doc/lispref/hooks.texi (Standard Hooks): Remove mode-specific hooks.
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00702.html
| -rw-r--r-- | doc/lispref/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/lispref/hooks.texi | 104 |
2 files changed, 5 insertions, 101 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index c6f259b972d..6918f0a2764 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2012-03-01 Glenn Morris <rgm@gnu.org> | 1 | 2012-03-01 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * hooks.texi (Standard Hooks): Remove mode-specific hooks. | ||
| 4 | |||
| 3 | * maps.texi (Standard Keymaps): General update. | 5 | * maps.texi (Standard Keymaps): General update. |
| 4 | Remove mode-specific maps, talk about the more general keymaps. | 6 | Remove mode-specific maps, talk about the more general keymaps. |
| 5 | * help.texi (Help Functions): Add vindex for Helper-help-map. | 7 | * help.texi (Help Functions): Add vindex for Helper-help-map. |
diff --git a/doc/lispref/hooks.texi b/doc/lispref/hooks.texi index 551d9141574..95fc0365c07 100644 --- a/doc/lispref/hooks.texi +++ b/doc/lispref/hooks.texi | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | @c -*-texinfo-*- | 1 | @c -*-texinfo-*- |
| 2 | @c This is part of the GNU Emacs Lisp Reference Manual. | 2 | @c This is part of the GNU Emacs Lisp Reference Manual. |
| 3 | @c Copyright (C) 1990-1993, 1998, 2001-2012 Free Software Foundation, Inc. | 3 | @c Copyright (C) 1990-1993, 1998, 2001-2012 Free Software Foundation, Inc. |
| 4 | @c See the file elisp.texi for copying conditions. | 4 | @c See the file elisp.texi for copying conditions. |
| 5 | @setfilename ../../info/hooks | 5 | @setfilename ../../info/hooks |
| 6 | @node Standard Hooks, Index, Standard Keymaps, Top | 6 | @node Standard Hooks, Index, Standard Keymaps, Top |
| @@ -22,7 +22,7 @@ Every major mode defines a mode hook named | |||
| 22 | @samp{@var{modename}-mode-hook}. The major mode command runs this | 22 | @samp{@var{modename}-mode-hook}. The major mode command runs this |
| 23 | normal hook with @code{run-mode-hooks} as the very last thing it does. | 23 | normal hook with @code{run-mode-hooks} as the very last thing it does. |
| 24 | @xref{Mode Hooks}. Most minor modes have mode hooks too. Mode hooks | 24 | @xref{Mode Hooks}. Most minor modes have mode hooks too. Mode hooks |
| 25 | are omitted in the list below. | 25 | are omitted from the list below. |
| 26 | 26 | ||
| 27 | The variables whose names end in @samp{-hooks} or @samp{-functions} are | 27 | The variables whose names end in @samp{-hooks} or @samp{-functions} are |
| 28 | usually @dfn{abnormal hooks}; their values are lists of functions, but | 28 | usually @dfn{abnormal hooks}; their values are lists of functions, but |
| @@ -95,38 +95,6 @@ not exactly a hook, but does a similar job. | |||
| 95 | @item buffer-access-fontify-functions | 95 | @item buffer-access-fontify-functions |
| 96 | @xref{Lazy Properties}. | 96 | @xref{Lazy Properties}. |
| 97 | 97 | ||
| 98 | @item calendar-initial-window-hook | ||
| 99 | @iftex | ||
| 100 | @inforef{Calendar Customizing,, emacs-xtra}. | ||
| 101 | @end iftex | ||
| 102 | @ifnottex | ||
| 103 | @xref{Calendar Customizing,,, emacs}. | ||
| 104 | @end ifnottex | ||
| 105 | |||
| 106 | @item calendar-load-hook | ||
| 107 | @iftex | ||
| 108 | @inforef{Calendar Customizing,, emacs-xtra}. | ||
| 109 | @end iftex | ||
| 110 | @ifnottex | ||
| 111 | @xref{Calendar Customizing,,, emacs}. | ||
| 112 | @end ifnottex | ||
| 113 | |||
| 114 | @item calendar-today-invisible-hook | ||
| 115 | @iftex | ||
| 116 | @inforef{Calendar Customizing,, emacs-xtra}. | ||
| 117 | @end iftex | ||
| 118 | @ifnottex | ||
| 119 | @xref{Calendar Customizing,,, emacs}. | ||
| 120 | @end ifnottex | ||
| 121 | |||
| 122 | @item calendar-today-visible-hook | ||
| 123 | @iftex | ||
| 124 | @inforef{Calendar Customizing,, emacs-xtra}. | ||
| 125 | @end iftex | ||
| 126 | @ifnottex | ||
| 127 | @xref{Calendar Customizing,,, emacs}. | ||
| 128 | @end ifnottex | ||
| 129 | |||
| 130 | @item change-major-mode-after-body-hook | 98 | @item change-major-mode-after-body-hook |
| 131 | @xref{Mode Hooks}. | 99 | @xref{Mode Hooks}. |
| 132 | 100 | ||
| @@ -153,67 +121,7 @@ Hook called after defining each customize option. | |||
| 153 | Functions to call when Emacs deletes a frame. @xref{Deleting Frames}. | 121 | Functions to call when Emacs deletes a frame. @xref{Deleting Frames}. |
| 154 | 122 | ||
| 155 | @item delete-terminal-functions | 123 | @item delete-terminal-functions |
| 156 | Functions to call when Emacs deletes a terminal. @xref{Multiple | 124 | Functions to call when Emacs deletes a terminal. @xref{Multiple Terminals}. |
| 157 | Terminals}. | ||
| 158 | |||
| 159 | @item desktop-after-read-hook | ||
| 160 | Normal hook run after a successful @code{desktop-read}. May be used | ||
| 161 | to show a buffer list. @xref{Saving Emacs Sessions,, Saving Emacs | ||
| 162 | Sessions, emacs, the GNU Emacs Manual}. | ||
| 163 | |||
| 164 | @item desktop-no-desktop-file-hook | ||
| 165 | Normal hook run when @code{desktop-read} can't find a desktop file. | ||
| 166 | May be used to show a dired buffer. @xref{Saving Emacs Sessions,, | ||
| 167 | Saving Emacs Sessions, emacs, the GNU Emacs Manual}. | ||
| 168 | |||
| 169 | @item desktop-save-hook | ||
| 170 | Normal hook run before the desktop is saved in a desktop file. This | ||
| 171 | is useful for truncating history lists, for example. @xref{Saving | ||
| 172 | Emacs Sessions,, Saving Emacs Sessions, emacs, the GNU Emacs Manual}. | ||
| 173 | |||
| 174 | @item diary-hook | ||
| 175 | List of functions called after the display of the diary. Can be used | ||
| 176 | for appointment notification. | ||
| 177 | |||
| 178 | @item diary-list-entries-hook | ||
| 179 | @iftex | ||
| 180 | @inforef{Fancy Diary Display,, emacs-xtra}. | ||
| 181 | @end iftex | ||
| 182 | @ifnottex | ||
| 183 | @xref{Fancy Diary Display,,, emacs}. | ||
| 184 | @end ifnottex | ||
| 185 | |||
| 186 | @item diary-mark-entries-hook | ||
| 187 | @iftex | ||
| 188 | @inforef{Fancy Diary Display,, emacs-xtra}. | ||
| 189 | @end iftex | ||
| 190 | @ifnottex | ||
| 191 | @xref{Fancy Diary Display,,, emacs}. | ||
| 192 | @end ifnottex | ||
| 193 | |||
| 194 | @item diary-nongregorian-listing-hook | ||
| 195 | @iftex | ||
| 196 | @inforef{Non-Gregorian Diary,, emacs-xtra}. | ||
| 197 | @end iftex | ||
| 198 | @ifnottex | ||
| 199 | @xref{Non-Gregorian Diary,,, emacs}. | ||
| 200 | @end ifnottex | ||
| 201 | |||
| 202 | @item diary-nongregorian-marking-hook | ||
| 203 | @iftex | ||
| 204 | @inforef{Non-Gregorian Diary,, emacs-xtra}. | ||
| 205 | @end iftex | ||
| 206 | @ifnottex | ||
| 207 | @xref{Non-Gregorian Diary,,, emacs}. | ||
| 208 | @end ifnottex | ||
| 209 | |||
| 210 | @item diary-print-entries-hook | ||
| 211 | @iftex | ||
| 212 | @inforef{Diary Display,, emacs-xtra}. | ||
| 213 | @end iftex | ||
| 214 | @ifnottex | ||
| 215 | @xref{Diary Display,,, emacs}. | ||
| 216 | @end ifnottex | ||
| 217 | 125 | ||
| 218 | @item disabled-command-function | 126 | @item disabled-command-function |
| 219 | @xref{Disabling Commands}. | 127 | @xref{Disabling Commands}. |
| @@ -272,8 +180,6 @@ for appointment notification. | |||
| 272 | @item kill-emacs-query-functions | 180 | @item kill-emacs-query-functions |
| 273 | @xref{Killing Emacs}. | 181 | @xref{Killing Emacs}. |
| 274 | 182 | ||
| 275 | @item lisp-indent-function | ||
| 276 | |||
| 277 | @item mail-setup-hook | 183 | @item mail-setup-hook |
| 278 | @xref{Mail Misc,, Mail Miscellany, emacs, the GNU Emacs Manual}. | 184 | @xref{Mail Misc,, Mail Miscellany, emacs, the GNU Emacs Manual}. |
| 279 | 185 | ||
| @@ -289,8 +195,6 @@ for appointment notification. | |||
| 289 | @item mouse-position-function | 195 | @item mouse-position-function |
| 290 | @xref{Mouse Position}. | 196 | @xref{Mouse Position}. |
| 291 | 197 | ||
| 292 | @item occur-hook | ||
| 293 | |||
| 294 | @item post-command-hook | 198 | @item post-command-hook |
| 295 | @xref{Command Overview}. | 199 | @xref{Command Overview}. |
| 296 | 200 | ||
| @@ -306,8 +210,6 @@ for appointment notification. | |||
| 306 | @item resume-tty-functions | 210 | @item resume-tty-functions |
| 307 | @xref{Suspending Emacs}. | 211 | @xref{Suspending Emacs}. |
| 308 | 212 | ||
| 309 | @item scheme-indent-function | ||
| 310 | |||
| 311 | @item suspend-hook | 213 | @item suspend-hook |
| 312 | @xref{Suspending Emacs}. | 214 | @xref{Suspending Emacs}. |
| 313 | 215 | ||