diff options
| author | Joakim Verona | 2015-01-15 14:54:25 +0100 |
|---|---|---|
| committer | Joakim Verona | 2015-01-15 14:54:25 +0100 |
| commit | 0298a2c6a10bc3b79cb2f45a1961dd7ac6da4e6d (patch) | |
| tree | 6c7ea25ac137f5764d931e841598a3c1ea434ab0 /src/keyboard.c | |
| parent | a1124bc117e41019de49c82d13d1a72a50df977d (diff) | |
| parent | 0e97c44c3699c4606a04f589828acdf9c03f447e (diff) | |
| download | emacs-0298a2c6a10bc3b79cb2f45a1961dd7ac6da4e6d.tar.gz emacs-0298a2c6a10bc3b79cb2f45a1961dd7ac6da4e6d.zip | |
merge master
Diffstat (limited to 'src/keyboard.c')
| -rw-r--r-- | src/keyboard.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 6afbd5d5fb8..dbae12b79f1 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1163,7 +1163,8 @@ top_level_1 (Lisp_Object ignore) | |||
| 1163 | 1163 | ||
| 1164 | DEFUN ("top-level", Ftop_level, Stop_level, 0, 0, "", | 1164 | DEFUN ("top-level", Ftop_level, Stop_level, 0, 0, "", |
| 1165 | doc: /* Exit all recursive editing levels. | 1165 | doc: /* Exit all recursive editing levels. |
| 1166 | This also exits all active minibuffers. */) | 1166 | This also exits all active minibuffers. */ |
| 1167 | attributes: noreturn) | ||
| 1167 | (void) | 1168 | (void) |
| 1168 | { | 1169 | { |
| 1169 | #ifdef HAVE_WINDOW_SYSTEM | 1170 | #ifdef HAVE_WINDOW_SYSTEM |
| @@ -1186,7 +1187,8 @@ user_error (const char *msg) | |||
| 1186 | 1187 | ||
| 1187 | /* _Noreturn will be added to prototype by make-docfile. */ | 1188 | /* _Noreturn will be added to prototype by make-docfile. */ |
| 1188 | DEFUN ("exit-recursive-edit", Fexit_recursive_edit, Sexit_recursive_edit, 0, 0, "", | 1189 | DEFUN ("exit-recursive-edit", Fexit_recursive_edit, Sexit_recursive_edit, 0, 0, "", |
| 1189 | doc: /* Exit from the innermost recursive edit or minibuffer. */) | 1190 | doc: /* Exit from the innermost recursive edit or minibuffer. */ |
| 1191 | attributes: noreturn) | ||
| 1190 | (void) | 1192 | (void) |
| 1191 | { | 1193 | { |
| 1192 | if (command_loop_level > 0 || minibuf_level > 0) | 1194 | if (command_loop_level > 0 || minibuf_level > 0) |
| @@ -1197,7 +1199,8 @@ DEFUN ("exit-recursive-edit", Fexit_recursive_edit, Sexit_recursive_edit, 0, 0, | |||
| 1197 | 1199 | ||
| 1198 | /* _Noreturn will be added to prototype by make-docfile. */ | 1200 | /* _Noreturn will be added to prototype by make-docfile. */ |
| 1199 | DEFUN ("abort-recursive-edit", Fabort_recursive_edit, Sabort_recursive_edit, 0, 0, "", | 1201 | DEFUN ("abort-recursive-edit", Fabort_recursive_edit, Sabort_recursive_edit, 0, 0, "", |
| 1200 | doc: /* Abort the command that requested this recursive edit or minibuffer input. */) | 1202 | doc: /* Abort the command that requested this recursive edit or minibuffer input. */ |
| 1203 | attributes: noreturn) | ||
| 1201 | (void) | 1204 | (void) |
| 1202 | { | 1205 | { |
| 1203 | if (command_loop_level > 0 || minibuf_level > 0) | 1206 | if (command_loop_level > 0 || minibuf_level > 0) |
| @@ -6293,10 +6296,10 @@ apply_modifiers_uncached (int modifiers, char *base, int base_len, int base_len_ | |||
| 6293 | if (modifiers & meta_modifier) { *p++ = 'M'; *p++ = '-'; } | 6296 | if (modifiers & meta_modifier) { *p++ = 'M'; *p++ = '-'; } |
| 6294 | if (modifiers & shift_modifier) { *p++ = 'S'; *p++ = '-'; } | 6297 | if (modifiers & shift_modifier) { *p++ = 'S'; *p++ = '-'; } |
| 6295 | if (modifiers & super_modifier) { *p++ = 's'; *p++ = '-'; } | 6298 | if (modifiers & super_modifier) { *p++ = 's'; *p++ = '-'; } |
| 6296 | if (modifiers & double_modifier) { strcpy (p, "double-"); p += 7; } | 6299 | if (modifiers & double_modifier) p = stpcpy (p, "double-"); |
| 6297 | if (modifiers & triple_modifier) { strcpy (p, "triple-"); p += 7; } | 6300 | if (modifiers & triple_modifier) p = stpcpy (p, "triple-"); |
| 6298 | if (modifiers & down_modifier) { strcpy (p, "down-"); p += 5; } | 6301 | if (modifiers & down_modifier) p = stpcpy (p, "down-"); |
| 6299 | if (modifiers & drag_modifier) { strcpy (p, "drag-"); p += 5; } | 6302 | if (modifiers & drag_modifier) p = stpcpy (p, "drag-"); |
| 6300 | /* The click modifier is denoted by the absence of other modifiers. */ | 6303 | /* The click modifier is denoted by the absence of other modifiers. */ |
| 6301 | 6304 | ||
| 6302 | *p = '\0'; | 6305 | *p = '\0'; |