diff options
| author | Chong Yidong | 2011-09-13 11:33:16 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-09-13 11:33:16 -0400 |
| commit | ef8ef9fb80786849815c5142ec5319fba77ecd9f (patch) | |
| tree | 526dfe6555c02aeb22e4cd4e61d55150ce78238c /src | |
| parent | b2cba41ecdc954c6dc01567e279c969aa9710239 (diff) | |
| download | emacs-ef8ef9fb80786849815c5142ec5319fba77ecd9f.tar.gz emacs-ef8ef9fb80786849815c5142ec5319fba77ecd9f.zip | |
* lisp/window.el (window-deletable-p): Never delete last frame on a terminal.
* src/frame.c (Fother_visible_frames_p): Function deleted.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/frame.c | 12 |
2 files changed, 4 insertions, 12 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0cf5ee725d8..9e04455102d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-09-13 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * frame.c (Fother_visible_frames_p): Function deleted. | ||
| 4 | |||
| 1 | 2011-09-12 Eli Zaretskii <eliz@gnu.org> | 5 | 2011-09-12 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * indent.c (compute_motion): Process display vector front to back | 7 | * indent.c (compute_motion): Process display vector front to back |
diff --git a/src/frame.c b/src/frame.c index cf866e66578..112f102a1f2 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1155,17 +1155,6 @@ other_visible_frames (FRAME_PTR f) | |||
| 1155 | return 1; | 1155 | return 1; |
| 1156 | } | 1156 | } |
| 1157 | 1157 | ||
| 1158 | DEFUN ("other-visible-frames-p", Fother_visible_frames_p, Sother_visible_frames_p, 0, 1, 0, | ||
| 1159 | doc: /* Return t if there are other visible frames beside FRAME. | ||
| 1160 | FRAME defaults to the selected frame. */) | ||
| 1161 | (Lisp_Object frame) | ||
| 1162 | { | ||
| 1163 | if (NILP (frame)) | ||
| 1164 | frame = selected_frame; | ||
| 1165 | CHECK_LIVE_FRAME (frame); | ||
| 1166 | return other_visible_frames (XFRAME (frame)) ? Qt : Qnil; | ||
| 1167 | } | ||
| 1168 | |||
| 1169 | /* Delete FRAME. When FORCE equals Qnoelisp, delete FRAME | 1158 | /* Delete FRAME. When FORCE equals Qnoelisp, delete FRAME |
| 1170 | unconditionally. x_connection_closed and delete_terminal use | 1159 | unconditionally. x_connection_closed and delete_terminal use |
| 1171 | this. Any other value of FORCE implements the semantics | 1160 | this. Any other value of FORCE implements the semantics |
| @@ -4475,7 +4464,6 @@ automatically. See also `mouse-autoselect-window'. */); | |||
| 4475 | defsubr (&Sframe_list); | 4464 | defsubr (&Sframe_list); |
| 4476 | defsubr (&Snext_frame); | 4465 | defsubr (&Snext_frame); |
| 4477 | defsubr (&Sprevious_frame); | 4466 | defsubr (&Sprevious_frame); |
| 4478 | defsubr (&Sother_visible_frames_p); | ||
| 4479 | defsubr (&Sdelete_frame); | 4467 | defsubr (&Sdelete_frame); |
| 4480 | defsubr (&Smouse_position); | 4468 | defsubr (&Smouse_position); |
| 4481 | defsubr (&Smouse_pixel_position); | 4469 | defsubr (&Smouse_pixel_position); |