annotate lispref/hooks.texi @ 61778:1b44d34506e4

Require select. Set selection-coding-system to mac-system-coding-system. Call menu-bar-enable-clipboard. (x-last-selected-text-clipboard, x-last-selected-text-primary) (x-select-enable-clipboard): New variables. (x-select-text, x-get-selection, x-selection-value) (x-get-selection-value, mac-select-convert-to-string) (mac-services-open-file, mac-services-open-selection) (mac-services-insert-text): New functions. (CLIPBOARD, FIND): Put mac-scrap-name property. (com.apple.traditional-mac-plain-text, public.utf16-plain-text) (public.tiff): Put mac-ostype property. (selection-converter-alist): Add entries for them. (mac-application-menu-map): New keymap. (interprogram-cut-function, interprogram-paste-function): Set to x-select-text and x-get-selection-value, respectively. (split-window-keep-point): Set to t.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Sun, 24 Apr 2005 05:59:52 +0000
parents 98aa85818778
children 3ba1f5fe6274 02f1dbc4a199
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 @c -*-texinfo-*-
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 @c See the file elisp.texi for copying conditions.
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 @setfilename ../info/hooks
12098
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
6 @node Standard Hooks, Index, Standard Keymaps, Top
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 @appendix Standard Hooks
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
7600
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 6782
diff changeset
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
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
7600
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 6782
diff changeset
12 Most of these variables have names ending with @samp{-hook}. They are
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 6782
diff changeset
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.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
22 @xref{Mode Hooks}. Mode hooks are omitted in the list below.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
23
16056
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
24 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
25 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
26 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
27 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
28 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
29 hooks' names should end in @samp{-hook}.
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 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
32 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
33 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
34 however, we have renamed all of those.)
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35
61235
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
36 @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
37 @c it here.
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 @table @code
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 @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
41 @xref{The Mark}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
42
6782
5b07647ec8f7 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6440
diff changeset
43 @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
44 @xref{Change Hooks}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
45
57217
6afcc5331733 (Standard Hooks): Add `after-change-major-mode-hook'.
Luc Teirlinck <teirllm@auburn.edu>
parents: 56622
diff changeset
46 @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
47 @xref{Mode Hooks}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
48
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 @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
50 @xref{Init File}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
51
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 @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
53 @xref{Saving Properties}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
54
32597
df31899ab320 Missed this file in previous commit.
Kai Großjohann <kgrossjo@eu.uu.net>
parents: 22138
diff changeset
55 @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
56 @xref{Creating Frames}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
57
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
58 @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
59 @xref{Reverting}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
60
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
61 @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
62 @xref{Saving Buffers}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
63
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 @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
65 @xref{Auto Filling}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
66
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 @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
68 @xref{Auto-Saving}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
69
6782
5b07647ec8f7 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6440
diff changeset
70 @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
71 @xref{Change Hooks}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
72
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73 @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
74 @xref{Init File}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
75
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 @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
77 @xref{Creating Frames}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
78
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
79 @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
80 @xref{Reverting}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
81
53505
780b9eb8b58e hooks.texi (Standard Hooks): Add before-save-hook.
Simon Josefsson <jas@extundo.com>
parents: 52401
diff changeset
82 @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
83 @xref{Saving Buffers}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
84
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85 @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
86 @xref{Blinking}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
87
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
88 @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
89 @xref{Lazy Properties}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
90
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 @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
92 @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
93
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
94 @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
95 @xref{Creating Buffer-Local}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
96
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
97 @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
98 @xref{Command-Line Arguments}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
99
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100 @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
101 @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
102 GNU Emacs Manual}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
103
42016
3900be0515b0 Add custom-define-hook.
Richard M. Stallman <rms@gnu.org>
parents: 39209
diff changeset
104 @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
105 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
106
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107 @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
108 @xref{The Mark}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
109
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
110 @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
111 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
112 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
113 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
114
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
115 @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
116 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
117 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
118 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
119
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
120 @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
121 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
122 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
123 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
124
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125 @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
126 @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
127
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128 @item diary-hook
61235
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
129 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
130 for appointment notification.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
131
56622
46ea95c2b12c (Standard Hooks): `disabled-command-hook' has been renamed to
Luc Teirlinck <teirllm@auburn.edu>
parents: 55416
diff changeset
132 @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
133 @xref{Disabling Commands}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
134
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
135 @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
136 @xref{The Echo Area}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
137
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
138 @item emacs-startup-hook
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
139 @xref{Init File}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
140
45979
87962bf716e3 *** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 42016
diff changeset
141 @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
142 @xref{Visiting Functions}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
143
45979
87962bf716e3 *** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 42016
diff changeset
144 @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
145 @xref{Visiting Functions}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
146
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147 @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
148 @xref{Change Hooks}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
149
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 @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
151 @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
152
39209
a0a6a6a2092f (Standard Hooks): Add kbd-macro-termination-hook and apropos-mode-hook.
Eli Zaretskii <eliz@gnu.org>
parents: 34306
diff changeset
153 @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
154 @xref{Keyboard Macros}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
155
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
156 @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
157 @xref{Killing Buffers}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
158
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159 @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
160 @xref{Killing Buffers}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
161
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
162 @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
163 @xref{Killing Emacs}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
164
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165 @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
166 @xref{Killing Emacs}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
167
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
168 @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
169
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
170 @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
171 @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
172
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
173 @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
174 @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
175 Manual}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
176
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
177 @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
178 @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
179
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
180 @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
181 @xref{Menu Bar}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
182
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
183 @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
184 @xref{Minibuffer Misc}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
185
6782
5b07647ec8f7 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6440
diff changeset
186 @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
187 @xref{Minibuffer Misc}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
188
34306
de5c0dfaf459 Zap before-change-function, ftp-setup-write-file-hooks,
Dave Love <fx@gnu.org>
parents: 32597
diff changeset
189 @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
190 @xref{Mouse Position}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
191
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
192 @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
193 @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
194
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
195 @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
196 @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
197
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
198 @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
199 @xref{Command Overview}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
200
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
201 @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
202 @xref{Abbrev Expansion}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
203
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
204 @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
205 @xref{Command Overview}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
206
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
207 @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
208 @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
209
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
210 @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
211 @xref{Window Hooks}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
212
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
213 @item scheme-indent-function
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
214
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
215 @item suspend-hook
61235
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
216 @xref{Suspending Emacs}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
217
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
218 @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
219 @xref{Suspending Emacs}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
220
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
221 @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
222 @xref{Temporary Displays}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
223
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
224 @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
225 @xref{Temporary Displays}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
226
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
227 @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
228 @xref{Temporary Displays}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
229
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
230 @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
231 @xref{Terminal-Specific}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
232
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
233 @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
234 @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
235
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
236 @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
237 @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
238
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
239 @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
240 @xref{Window Hooks}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
241
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
242 @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
243 @xref{Window Hooks}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
244
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
245 @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
246 @xref{Window Systems}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
247
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 16056
diff changeset
248 @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
249 @xref{Window Hooks}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
250
45979
87962bf716e3 *** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 42016
diff changeset
251 @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
252 @xref{Saving Buffers}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
253
45979
87962bf716e3 *** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 42016
diff changeset
254 @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
255 @xref{Saving Buffers}.
98aa85818778 (Standard Hooks): Add some hooks. Add cross references and/or
Lute Kamstra <lute@gnu.org>
parents: 57217
diff changeset
256
12098
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
257 @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
258 @xref{Saving Properties}.
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
259 @end table
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
260
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
261 @ignore
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
262 arch-tag: 55fd0296-d906-4551-b300-979d3846aa88
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
263 @end ignore