Mercurial > emacs
annotate lispref/hooks.texi @ 62393:73a2645459f6
*** empty log message ***
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Mon, 16 May 2005 04:25:50 +0000 |
parents | 100e0fab95e5 |
children | c4030bc2f36d 08185296b491 |
rev | line source |
---|---|
6440 | 1 @c -*-texinfo-*- |
2 @c This is part of the GNU Emacs Lisp Reference Manual. | |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
3 @c Copyright (C) 1990, 1991, 1992, 1993, 1998, 2004, 2005 Free Software Foundation, Inc. |
6440 | 4 @c See the file elisp.texi for copying conditions. |
5 @setfilename ../info/hooks | |
12098 | 6 @node Standard Hooks, Index, Standard Keymaps, Top |
6440 | 7 @appendix Standard Hooks |
8 | |
7600 | 9 The following is a list of hook variables that let you provide |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
45979
diff
changeset
|
10 functions to be called from within Emacs on suitable occasions. |
6440 | 11 |
7600 | 12 Most of these variables have names ending with @samp{-hook}. They are |
13 @dfn{normal hooks}, run by means of @code{run-hooks}. The value of such | |
16056
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
14 a hook is a list of functions; the functions are called with no |
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
15 arguments and their values are completely ignored. The recommended way |
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
16 to put a new function on such a hook is to call @code{add-hook}. |
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
17 @xref{Hooks}, for more information about using hooks. |
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
18 |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
19 Every major mode defines a mode hook named |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
20 @samp{@var{modename}-mode-hook}. The major mode command runs this |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
21 normal hook with @code{run-mode-hooks} as the very last thing it does. |
61835
3ba1f5fe6274
(Standard Hooks): Most minor modes have mode hooks too.
Luc Teirlinck <teirllm@auburn.edu>
parents:
61235
diff
changeset
|
22 @xref{Mode Hooks}. Most minor modes have mode hooks too. Mode hooks |
3ba1f5fe6274
(Standard Hooks): Most minor modes have mode hooks too.
Luc Teirlinck <teirllm@auburn.edu>
parents:
61235
diff
changeset
|
23 are omitted in the list below. |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
24 |
16056
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
25 The variables whose names end in @samp{-hooks} or @samp{-functions} are |
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
26 usually @dfn{abnormal hooks}; their values are lists of functions, but |
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
27 these functions are called in a special way (they are passed arguments, |
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
28 or their values are used). A few of these variables are actually normal |
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
29 hooks which were named before we established the convention that normal |
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
30 hooks' names should end in @samp{-hook}. |
6440 | 31 |
32 The variables whose names end in @samp{-function} have single functions | |
16056
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
33 as their values. (In older Emacs versions, some of these variables had |
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
34 names ending in @samp{-hook} even though they were not normal hooks; |
bfe1d6597f08
Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
35 however, we have renamed all of those.) |
6440 | 36 |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
37 @c We need to xref to where each hook is documented or else document |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
38 @c it here. |
6440 | 39 |
40 @table @code | |
41 @item activate-mark-hook | |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
42 @xref{The Mark}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
43 |
6782
5b07647ec8f7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
6440
diff
changeset
|
44 @item after-change-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
45 @xref{Change Hooks}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
46 |
57217
6afcc5331733
(Standard Hooks): Add `after-change-major-mode-hook'.
Luc Teirlinck <teirllm@auburn.edu>
parents:
56622
diff
changeset
|
47 @item after-change-major-mode-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
48 @xref{Mode Hooks}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
49 |
6440 | 50 @item after-init-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
51 @xref{Init File}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
52 |
6440 | 53 @item after-insert-file-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
54 @xref{Saving Properties}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
55 |
32597
df31899ab320
Missed this file in previous commit.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
22138
diff
changeset
|
56 @item after-make-frame-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
57 @xref{Creating Frames}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
58 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
59 @item after-revert-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
60 @xref{Reverting}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
61 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
62 @item after-save-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
63 @xref{Saving Buffers}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
64 |
6440 | 65 @item auto-fill-function |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
66 @xref{Auto Filling}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
67 |
6440 | 68 @item auto-save-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
69 @xref{Auto-Saving}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
70 |
6782
5b07647ec8f7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
6440
diff
changeset
|
71 @item before-change-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
72 @xref{Change Hooks}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
73 |
6440 | 74 @item before-init-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
75 @xref{Init File}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
76 |
6440 | 77 @item before-make-frame-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
78 @xref{Creating Frames}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
79 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
80 @item before-revert-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
81 @xref{Reverting}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
82 |
53505
780b9eb8b58e
hooks.texi (Standard Hooks): Add before-save-hook.
Simon Josefsson <jas@extundo.com>
parents:
52401
diff
changeset
|
83 @item before-save-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
84 @xref{Saving Buffers}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
85 |
6440 | 86 @item blink-paren-function |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
87 @xref{Blinking}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
88 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
89 @item buffer-access-fontify-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
90 @xref{Lazy Properties}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
91 |
6440 | 92 @item calendar-load-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
93 @inforef{Calendar Customizing,, emacs-xtra}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
94 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
95 @item change-major-mode-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
96 @xref{Creating Buffer-Local}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
97 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
98 @item command-line-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
99 @xref{Command-Line Arguments}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
100 |
6440 | 101 @item comment-indent-function |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
102 @xref{Options for Comments,, Options Controlling Comments, emacs, the |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
103 GNU Emacs Manual}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
104 |
42016
3900be0515b0
Add custom-define-hook.
Richard M. Stallman <rms@gnu.org>
parents:
39209
diff
changeset
|
105 @item custom-define-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
106 Hook called after defining each customize option. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
107 |
6440 | 108 @item deactivate-mark-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
109 @xref{The Mark}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
110 |
55416
b736c6cf17ee
Add desktop-after-read-hook, desktop-no-desktop-file-hook and desktop-save-hook.
Lars Hansen <larsh@soem.dk>
parents:
53505
diff
changeset
|
111 @item desktop-after-read-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
112 Normal hook run after a successful @code{desktop-read}. May be used |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
113 to show a buffer list. @xref{Saving Emacs Sessions,, Saving Emacs |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
114 Sessions, emacs, the GNU Emacs Manual}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
115 |
55416
b736c6cf17ee
Add desktop-after-read-hook, desktop-no-desktop-file-hook and desktop-save-hook.
Lars Hansen <larsh@soem.dk>
parents:
53505
diff
changeset
|
116 @item desktop-no-desktop-file-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
117 Normal hook run when @code{desktop-read} can't find a desktop file. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
118 May be used to show a dired buffer. @xref{Saving Emacs Sessions,, |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
119 Saving Emacs Sessions, emacs, the GNU Emacs Manual}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
120 |
55416
b736c6cf17ee
Add desktop-after-read-hook, desktop-no-desktop-file-hook and desktop-save-hook.
Lars Hansen <larsh@soem.dk>
parents:
53505
diff
changeset
|
121 @item desktop-save-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
122 Normal hook run before the desktop is saved in a desktop file. This |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
123 is useful for truncating history lists, for example. @xref{Saving |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
124 Emacs Sessions,, Saving Emacs Sessions, emacs, the GNU Emacs Manual}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
125 |
6440 | 126 @item diary-display-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
127 @inforef{Fancy Diary Display,, emacs-xtra}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
128 |
6440 | 129 @item diary-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
130 List of functions called after the display of the diary. Can be used |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
131 for appointment notification. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
132 |
56622
46ea95c2b12c
(Standard Hooks): `disabled-command-hook' has been renamed to
Luc Teirlinck <teirllm@auburn.edu>
parents:
55416
diff
changeset
|
133 @item disabled-command-function |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
134 @xref{Disabling Commands}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
135 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
136 @item echo-area-clear-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
137 @xref{The Echo Area}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
138 |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
139 @item emacs-startup-hook |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
140 @xref{Init File}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
141 |
45979
87962bf716e3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
42016
diff
changeset
|
142 @item find-file-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
143 @xref{Visiting Functions}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
144 |
45979
87962bf716e3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
42016
diff
changeset
|
145 @item find-file-not-found-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
146 @xref{Visiting Functions}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
147 |
6440 | 148 @item first-change-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
149 @xref{Change Hooks}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
150 |
61908
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
151 @item font-lock-beginning-of-syntax-function |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
152 @xref{Syntactic Font Lock}. |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
153 |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
154 @item font-lock-fontify-buffer-function |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
155 @xref{Other Font Lock Variables}. |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
156 |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
157 @item font-lock-fontify-region-function |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
158 @xref{Other Font Lock Variables}. |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
159 |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
160 @item font-lock-mark-block-function |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
161 @xref{Other Font Lock Variables}. |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
162 |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
163 @item font-lock-syntactic-face-function |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
164 @xref{Syntactic Font Lock}. |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
165 |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
166 @item font-lock-unfontify-buffer-function |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
167 @xref{Other Font Lock Variables}. |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
168 |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
169 @item font-lock-unfontify-region-function |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
170 @xref{Other Font Lock Variables}. |
100e0fab95e5
(Standard Hooks): Add Font-Lock hooks.
Lute Kamstra <lute@gnu.org>
parents:
61835
diff
changeset
|
171 |
6440 | 172 @item initial-calendar-window-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
173 @inforef{Calendar Customizing,, emacs-xtra}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
174 |
39209
a0a6a6a2092f
(Standard Hooks): Add kbd-macro-termination-hook and apropos-mode-hook.
Eli Zaretskii <eliz@gnu.org>
parents:
34306
diff
changeset
|
175 @item kbd-macro-termination-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
176 @xref{Keyboard Macros}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
177 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
178 @item kill-buffer-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
179 @xref{Killing Buffers}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
180 |
6440 | 181 @item kill-buffer-query-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
182 @xref{Killing Buffers}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
183 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
184 @item kill-emacs-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
185 @xref{Killing Emacs}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
186 |
6440 | 187 @item kill-emacs-query-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
188 @xref{Killing Emacs}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
189 |
6440 | 190 @item lisp-indent-function |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
191 |
6440 | 192 @item list-diary-entries-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
193 @inforef{Fancy Diary Display,, emacs-xtra}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
194 |
6440 | 195 @item mail-setup-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
196 @xref{Mail Mode Misc,, Mail Mode Miscellany, emacs, the GNU Emacs |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
197 Manual}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
198 |
6440 | 199 @item mark-diary-entries-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
200 @inforef{Fancy Diary Display,, emacs-xtra}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
201 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
202 @item menu-bar-update-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
203 @xref{Menu Bar}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
204 |
6440 | 205 @item minibuffer-setup-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
206 @xref{Minibuffer Misc}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
207 |
6782
5b07647ec8f7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
6440
diff
changeset
|
208 @item minibuffer-exit-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
209 @xref{Minibuffer Misc}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
210 |
34306
de5c0dfaf459
Zap before-change-function, ftp-setup-write-file-hooks,
Dave Love <fx@gnu.org>
parents:
32597
diff
changeset
|
211 @item mouse-position-function |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
212 @xref{Mouse Position}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
213 |
6440 | 214 @item nongregorian-diary-listing-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
215 @inforef{Hebrew/Islamic Entries,, emacs-xtra}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
216 |
6440 | 217 @item nongregorian-diary-marking-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
218 @inforef{Hebrew/Islamic Entries,, emacs-xtra}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
219 |
6440 | 220 @item post-command-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
221 @xref{Command Overview}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
222 |
6440 | 223 @item pre-abbrev-expand-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
224 @xref{Abbrev Expansion}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
225 |
6440 | 226 @item pre-command-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
227 @xref{Command Overview}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
228 |
6440 | 229 @item print-diary-entries-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
230 @inforef{Diary Customizing,, emacs-xtra}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
231 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
232 @item redisplay-end-trigger-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
233 @xref{Window Hooks}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
234 |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
235 @item scheme-indent-function |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
236 |
6440 | 237 @item suspend-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
238 @xref{Suspending Emacs}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
239 |
6440 | 240 @item suspend-resume-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
241 @xref{Suspending Emacs}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
242 |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
243 @item temp-buffer-setup-hook |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
244 @xref{Temporary Displays}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
245 |
6440 | 246 @item temp-buffer-show-function |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
247 @xref{Temporary Displays}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
248 |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
249 @item temp-buffer-show-hook |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
250 @xref{Temporary Displays}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
251 |
6440 | 252 @item term-setup-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
253 @xref{Terminal-Specific}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
254 |
6440 | 255 @item today-visible-calendar-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
256 @inforef{Calendar Customizing,, emacs-xtra}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
257 |
6440 | 258 @item today-invisible-calendar-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
259 @inforef{Calendar Customizing,, emacs-xtra}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
260 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
261 @item window-configuration-change-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
262 @xref{Window Hooks}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
263 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
264 @item window-scroll-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
265 @xref{Window Hooks}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
266 |
6440 | 267 @item window-setup-hook |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
268 @xref{Window Systems}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
269 |
21007
66d807bdc5b4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
16056
diff
changeset
|
270 @item window-size-change-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
271 @xref{Window Hooks}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
272 |
45979
87962bf716e3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
42016
diff
changeset
|
273 @item write-contents-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
274 @xref{Saving Buffers}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
275 |
45979
87962bf716e3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
42016
diff
changeset
|
276 @item write-file-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
277 @xref{Saving Buffers}. |
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
278 |
12098 | 279 @item write-region-annotate-functions |
61235
98aa85818778
(Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents:
57217
diff
changeset
|
280 @xref{Saving Properties}. |
6440 | 281 @end table |
52401 | 282 |
283 @ignore | |
284 arch-tag: 55fd0296-d906-4551-b300-979d3846aa88 | |
285 @end ignore |