aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2014-06-12 10:55:48 -0400
committerStefan Monnier2014-06-12 10:55:48 -0400
commit2baa734e248de1e1f99959a8a0f25063ee2018a2 (patch)
treec4ccae1d98be5c884d6f68f49f0239d4d9937add /src
parentde825bbb7421f66f6b2354849d81d80f4dbf527d (diff)
downloademacs-2baa734e248de1e1f99959a8a0f25063ee2018a2.tar.gz
emacs-2baa734e248de1e1f99959a8a0f25063ee2018a2.zip
* src/keymap.c (silly_event_symbol_error): Don't recommend the use of strings.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog11
-rw-r--r--src/keymap.c4
2 files changed, 9 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0e2af2d766e..e1393f90627 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * keymap.c (silly_event_symbol_error): Don't recommend the use
4 of strings.
5
12014-06-11 Eli Zaretskii <eliz@gnu.org> 62014-06-11 Eli Zaretskii <eliz@gnu.org>
2 7
3 * xdisp.c (set_cursor_from_row): Fix an off-by-one error when 8 * xdisp.c (set_cursor_from_row): Fix an off-by-one error when
@@ -12,7 +17,7 @@
12 * nsterm.m (run): Always compile for Cocoa. Use runtime check to 17 * nsterm.m (run): Always compile for Cocoa. Use runtime check to
13 determine 10.9 (Bug#17751). 18 determine 10.9 (Bug#17751).
14 19
15 * macfont.m (macfont_draw): positions where not freed. 20 * macfont.m (macfont_draw): Positions were not freed.
16 21
172014-06-10 Dmitry Antipov <dmantipov@yandex.ru> 222014-06-10 Dmitry Antipov <dmantipov@yandex.ru>
18 23
@@ -650,8 +655,8 @@
650 was moved to Fgarbage_collect. 655 was moved to Fgarbage_collect.
651 (Fgarbage_collect): Calculate the end address of the stack portion 656 (Fgarbage_collect): Calculate the end address of the stack portion
652 that needs to be examined by mark_stack, and pass that address to 657 that needs to be examined by mark_stack, and pass that address to
653 garbage_collect_1, which will pass it to mark_stack. See 658 garbage_collect_1, which will pass it to mark_stack.
654 http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00270.html 659 See http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00270.html
655 for more details about the underlying problems. In particular, 660 for more details about the underlying problems. In particular,
656 this avoids dumping Emacs with the large hash-table whose value is 661 this avoids dumping Emacs with the large hash-table whose value is
657 held in purify-flag for most of the time loadup.el runs. 662 held in purify-flag for most of the time loadup.el runs.
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 }