Mercurial > emacs
comparison src/frame.c @ 109501:c02e8765755d
Remove unused static functions.
* alloc.c (free_float)
* font.c [ENABLE_CHECKING] (font_match_xlfd, font_check_xlfd_parse)
* frame.c (delete_frame_handler)
* ralloc.c (reorder_bloc)
* w32menu.c (menubar_id_to_frame, add_left_right_boundary)
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 23 Jul 2010 19:50:14 +0200 |
parents | 56176400910f |
children | 05e7e7c46ff0 |
comparison
equal
deleted
inserted
replaced
109500:3a9a140f18bb | 109501:c02e8765755d |
---|---|
1278 return count > 1; | 1278 return count > 1; |
1279 } | 1279 } |
1280 return 1; | 1280 return 1; |
1281 } | 1281 } |
1282 | 1282 |
1283 /* Error handler for `delete-frame-functions'. */ | |
1284 static Lisp_Object | |
1285 delete_frame_handler (Lisp_Object arg) | |
1286 { | |
1287 add_to_log ("Error during `delete-frame': %s", arg, Qnil); | |
1288 return Qnil; | |
1289 } | |
1290 | |
1291 extern Lisp_Object Qrun_hook_with_args; | 1283 extern Lisp_Object Qrun_hook_with_args; |
1292 | 1284 |
1293 /* Delete FRAME. When FORCE equals Qnoelisp, delete FRAME | 1285 /* Delete FRAME. When FORCE equals Qnoelisp, delete FRAME |
1294 unconditionally. x_connection_closed and delete_terminal use | 1286 unconditionally. x_connection_closed and delete_terminal use |
1295 this. Any other value of FORCE implements the semantics | 1287 this. Any other value of FORCE implements the semantics |
1297 Lisp_Object | 1289 Lisp_Object |
1298 delete_frame (Lisp_Object frame, Lisp_Object force) | 1290 delete_frame (Lisp_Object frame, Lisp_Object force) |
1299 /* If we use `register' here, gcc-4.0.2 on amd64 using | 1291 /* If we use `register' here, gcc-4.0.2 on amd64 using |
1300 -DUSE_LISP_UNION_TYPE complains further down that we're getting the | 1292 -DUSE_LISP_UNION_TYPE complains further down that we're getting the |
1301 address of `force'. Go figure. */ | 1293 address of `force'. Go figure. */ |
1302 | 1294 |
1303 { | 1295 { |
1304 struct frame *f; | 1296 struct frame *f; |
1305 struct frame *sf = SELECTED_FRAME (); | 1297 struct frame *sf = SELECTED_FRAME (); |
1306 struct kboard *kb; | 1298 struct kboard *kb; |
1307 | 1299 |