[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100909: NO_RETURN functions should n
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100909: NO_RETURN functions should not return. |
Date: |
Mon, 26 Jul 2010 10:11:43 -0700 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100909
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Mon 2010-07-26 10:11:43 -0700
message:
NO_RETURN functions should not return.
* keyboard.c (Ftop_level, Fexit_recursive_edit)
(Fabort_recursive_edit): Remove return statements in NO_RETURN
functions.
modified:
src/ChangeLog
src/keyboard.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-07-26 16:57:19 +0000
+++ b/src/ChangeLog 2010-07-26 17:11:43 +0000
@@ -1,5 +1,9 @@
2010-07-26 Dan Nicolaescu <address@hidden>
+ * 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)
=== modified file 'src/keyboard.c'
--- a/src/keyboard.c 2010-07-25 00:20:51 +0000
+++ b/src/keyboard.c 2010-07-26 17:11:43 +0000
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100909: NO_RETURN functions should not return.,
Dan Nicolaescu <=