diff options
| author | Stefan Monnier | 2014-06-12 10:55:48 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-06-12 10:55:48 -0400 |
| commit | 2baa734e248de1e1f99959a8a0f25063ee2018a2 (patch) | |
| tree | c4ccae1d98be5c884d6f68f49f0239d4d9937add /src/keymap.c | |
| parent | de825bbb7421f66f6b2354849d81d80f4dbf527d (diff) | |
| download | emacs-2baa734e248de1e1f99959a8a0f25063ee2018a2.tar.gz emacs-2baa734e248de1e1f99959a8a0f25063ee2018a2.zip | |
* src/keymap.c (silly_event_symbol_error): Don't recommend the use of strings.
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/keymap.c b/src/keymap.c index 663c4661be3..0b2b61dcc05 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1383,9 +1383,7 @@ silly_event_symbol_error (Lisp_Object c) | |||
| 1383 | c = reorder_modifiers (c); | 1383 | c = reorder_modifiers (c); |
| 1384 | keystring = concat2 (build_string (new_mods), XCDR (assoc)); | 1384 | keystring = concat2 (build_string (new_mods), XCDR (assoc)); |
| 1385 | 1385 | ||
| 1386 | error ((modifiers & ~meta_modifier | 1386 | error ("To bind the key %s, use [?%s], not [%s]", |
| 1387 | ? "To bind the key %s, use [?%s], not [%s]" | ||
| 1388 | : "To bind the key %s, use \"%s\", not [%s]"), | ||
| 1389 | SDATA (SYMBOL_NAME (c)), SDATA (keystring), | 1387 | SDATA (SYMBOL_NAME (c)), SDATA (keystring), |
| 1390 | SDATA (SYMBOL_NAME (c))); | 1388 | SDATA (SYMBOL_NAME (c))); |
| 1391 | } | 1389 | } |