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 /lisp | |
| 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 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/files.el | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7e9da4fa8ff..71d7b50482c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-08-05 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * files.el (kill-buffer-hook): Provide a defvar. | ||
| 4 | |||
| 1 | 2012-08-05 Glenn Morris <rgm@gnu.org> | 5 | 2012-08-05 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * eshell/esh-ext.el (eshell/addpath): | 7 | * eshell/esh-ext.el (eshell/addpath): |
diff --git a/lisp/files.el b/lisp/files.el index 2b4ae460c3e..b54d3d1b60e 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -1514,7 +1514,11 @@ expand wildcards (if any) and replace the file with multiple files." | |||
| 1514 | (other-window 1) | 1514 | (other-window 1) |
| 1515 | (find-alternate-file filename wildcards)))) | 1515 | (find-alternate-file filename wildcards)))) |
| 1516 | 1516 | ||
| 1517 | (defvar kill-buffer-hook) ; from buffer.c | 1517 | ;; Defined and used in buffer.c, but not as a DEFVAR_LISP. |
| 1518 | (defvar kill-buffer-hook nil | ||
| 1519 | "Hook run when a buffer is killed. | ||
| 1520 | The buffer being killed is current while the hook is running. | ||
| 1521 | See `kill-buffer'.") | ||
| 1518 | 1522 | ||
| 1519 | (defun find-alternate-file (filename &optional wildcards) | 1523 | (defun find-alternate-file (filename &optional wildcards) |
| 1520 | "Find file FILENAME, select its buffer, kill previous buffer. | 1524 | "Find file FILENAME, select its buffer, kill previous buffer. |