diff options
| author | Chong Yidong | 2012-08-05 15:45:12 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-08-05 15:45:12 +0800 |
| commit | e5d9c0d111daaff5d1a6ca26ebde4f926da5e410 (patch) | |
| tree | 65465ddeb2c2e7e1d025520eefa91722fd411114 /src | |
| parent | a4f2deaaeba642460b7a0899aa61f7d68e1c69f2 (diff) | |
| download | emacs-e5d9c0d111daaff5d1a6ca26ebde4f926da5e410.tar.gz emacs-e5d9c0d111daaff5d1a6ca26ebde4f926da5e410.zip | |
Docfix for kill-buffer-hook and others.
* lisp/files.el (kill-buffer-hook): Provide a defvar.
* src/term.c (Vsuspend_tty_functions, Vresume_tty_functions):
* src/frame.c (Vdelete_frame_functions):
* src/emacs.c (Vkill_emacs_hook): Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/emacs.c | 2 | ||||
| -rw-r--r-- | src/frame.c | 2 | ||||
| -rw-r--r-- | src/term.c | 4 |
4 files changed, 10 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4b60dd07e73..8d13944b633 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-08-05 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * term.c (Vsuspend_tty_functions, Vresume_tty_functions): | ||
| 4 | * frame.c (Vdelete_frame_functions): | ||
| 5 | * emacs.c (Vkill_emacs_hook): Doc fix. | ||
| 6 | |||
| 1 | 2012-08-04 Eli Zaretskii <eliz@gnu.org> | 7 | 2012-08-04 Eli Zaretskii <eliz@gnu.org> |
| 2 | 8 | ||
| 3 | * xfns.c (x_set_menu_bar_lines): Fix compilation error in | 9 | * xfns.c (x_set_menu_bar_lines): Fix compilation error in |
diff --git a/src/emacs.c b/src/emacs.c index c99ed7c4b07..223d125db32 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -2424,7 +2424,7 @@ Emacs is running. */); | |||
| 2424 | doc: /* Non-nil means Emacs is running without interactive terminal. */); | 2424 | doc: /* Non-nil means Emacs is running without interactive terminal. */); |
| 2425 | 2425 | ||
| 2426 | DEFVAR_LISP ("kill-emacs-hook", Vkill_emacs_hook, | 2426 | DEFVAR_LISP ("kill-emacs-hook", Vkill_emacs_hook, |
| 2427 | doc: /* Hook to be run when `kill-emacs' is called. | 2427 | doc: /* Hook run when `kill-emacs' is called. |
| 2428 | Since `kill-emacs' may be invoked when the terminal is disconnected (or | 2428 | Since `kill-emacs' may be invoked when the terminal is disconnected (or |
| 2429 | in other similar situations), functions placed on this hook should not | 2429 | in other similar situations), functions placed on this hook should not |
| 2430 | expect to be able to interact with the user. To ask for confirmation, | 2430 | expect to be able to interact with the user. To ask for confirmation, |
diff --git a/src/frame.c b/src/frame.c index e43352d4e24..308179e206f 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -4351,7 +4351,7 @@ The pointer becomes visible again when the mouse is moved. */); | |||
| 4351 | Vmake_pointer_invisible = Qt; | 4351 | Vmake_pointer_invisible = Qt; |
| 4352 | 4352 | ||
| 4353 | DEFVAR_LISP ("delete-frame-functions", Vdelete_frame_functions, | 4353 | DEFVAR_LISP ("delete-frame-functions", Vdelete_frame_functions, |
| 4354 | doc: /* Functions to be run before deleting a frame. | 4354 | doc: /* Functions run before deleting a frame. |
| 4355 | The functions are run with one arg, the frame to be deleted. | 4355 | The functions are run with one arg, the frame to be deleted. |
| 4356 | See `delete-frame'. | 4356 | See `delete-frame'. |
| 4357 | 4357 | ||
diff --git a/src/term.c b/src/term.c index 803bb6458b6..64bc88a7cf0 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -3571,14 +3571,14 @@ This variable can be used by terminal emulator packages. */); | |||
| 3571 | #endif | 3571 | #endif |
| 3572 | 3572 | ||
| 3573 | DEFVAR_LISP ("suspend-tty-functions", Vsuspend_tty_functions, | 3573 | DEFVAR_LISP ("suspend-tty-functions", Vsuspend_tty_functions, |
| 3574 | doc: /* Functions to be run after suspending a tty. | 3574 | doc: /* Functions run after suspending a tty. |
| 3575 | The functions are run with one argument, the terminal object to be suspended. | 3575 | The functions are run with one argument, the terminal object to be suspended. |
| 3576 | See `suspend-tty'. */); | 3576 | See `suspend-tty'. */); |
| 3577 | Vsuspend_tty_functions = Qnil; | 3577 | Vsuspend_tty_functions = Qnil; |
| 3578 | 3578 | ||
| 3579 | 3579 | ||
| 3580 | DEFVAR_LISP ("resume-tty-functions", Vresume_tty_functions, | 3580 | DEFVAR_LISP ("resume-tty-functions", Vresume_tty_functions, |
| 3581 | doc: /* Functions to be run after resuming a tty. | 3581 | doc: /* Functions run after resuming a tty. |
| 3582 | The functions are run with one argument, the terminal object that was revived. | 3582 | The functions are run with one argument, the terminal object that was revived. |
| 3583 | See `resume-tty'. */); | 3583 | See `resume-tty'. */); |
| 3584 | Vresume_tty_functions = Qnil; | 3584 | Vresume_tty_functions = Qnil; |