diff options
| author | Stefan Monnier | 2011-04-03 21:10:13 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2011-04-03 21:10:13 -0400 |
| commit | f84c17c70c7690fef20ec88c540f1827b3a7790c (patch) | |
| tree | 4c215e0d8df0a2929ce404c5fd58007bf32475bb /src | |
| parent | 0d9e9a12cad5d96845fdb03ff20ab47dc081d435 (diff) | |
| download | emacs-f84c17c70c7690fef20ec88c540f1827b3a7790c.tar.gz emacs-f84c17c70c7690fef20ec88c540f1827b3a7790c.zip | |
* src/keyboard.c (safe_run_hook_funcall): Fix last change (don't stop at the
first non-nil return value).
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/keyboard.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b11aa27eeaf..d12969fe46a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-04-04 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * keyboard.c (safe_run_hook_funcall): Fix last change (don't stop at the | ||
| 4 | first non-nil return value). | ||
| 5 | |||
| 1 | 2011-04-03 Jan Djärv <jan.h.d@swipnet.se> | 6 | 2011-04-03 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 7 | ||
| 3 | * nsterm.m (ns_update_auto_hide_menu_bar): Define MAC_OS_X_VERSION_10_6 | 8 | * nsterm.m (ns_update_auto_hide_menu_bar): Define MAC_OS_X_VERSION_10_6 |
diff --git a/src/keyboard.c b/src/keyboard.c index d307250b868..f766dd7d697 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1870,7 +1870,8 @@ safe_run_hook_funcall (size_t nargs, Lisp_Object *args) | |||
| 1870 | else | 1870 | else |
| 1871 | Vinhibit_quit = Fcons (Vinhibit_quit, args[0]); | 1871 | Vinhibit_quit = Fcons (Vinhibit_quit, args[0]); |
| 1872 | 1872 | ||
| 1873 | return internal_condition_case (safe_run_hooks_1, Qt, safe_run_hooks_error); | 1873 | internal_condition_case (safe_run_hooks_1, Qt, safe_run_hooks_error); |
| 1874 | return Qnil; | ||
| 1874 | } | 1875 | } |
| 1875 | 1876 | ||
| 1876 | /* If we get an error while running the hook, cause the hook variable | 1877 | /* If we get an error while running the hook, cause the hook variable |