Mercurial > emacs
changeset 109551:6d00127d1b3d
NO_RETURN functions should not return.
* keyboard.c (Ftop_level, Fexit_recursive_edit)
(Fabort_recursive_edit): Remove return statements in NO_RETURN
functions.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Mon, 26 Jul 2010 10:11:43 -0700 |
parents | 162dd4afa5ec |
children | 9eac3b0c2884 |
files | src/ChangeLog src/keyboard.c |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Mon Jul 26 09:57:19 2010 -0700 +++ b/src/ChangeLog Mon Jul 26 10:11:43 2010 -0700 @@ -1,5 +1,9 @@ 2010-07-26 Dan Nicolaescu <dann@ics.uci.edu> + * keyboard.c (Ftop_level, Fexit_recursive_edit) + (Fabort_recursive_edit): Remove return statements in NO_RETURN + functions. + * frame.h (Qtty_color_mode): Add declaration. * lisp.h (Ftop_level, Fexit_recursive_edit)
--- a/src/keyboard.c Mon Jul 26 09:57:19 2010 -0700 +++ b/src/keyboard.c Mon Jul 26 10:11:43 2010 -0700 @@ -1380,7 +1380,7 @@ while (INPUT_BLOCKED_P) UNBLOCK_INPUT; - return Fthrow (Qtop_level, Qnil); + Fthrow (Qtop_level, Qnil); } DEFUN ("exit-recursive-edit", Fexit_recursive_edit, Sexit_recursive_edit, 0, 0, "", @@ -1391,7 +1391,6 @@ Fthrow (Qexit, Qnil); error ("No recursive edit is in progress"); - return Qnil; } DEFUN ("abort-recursive-edit", Fabort_recursive_edit, Sabort_recursive_edit, 0, 0, "", @@ -1402,7 +1401,6 @@ Fthrow (Qexit, Qt); error ("No recursive edit is in progress"); - return Qnil; } #if defined (HAVE_MOUSE) || defined (HAVE_GPM)