]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/keymap.c (silly_event_symbol_error): Don't recommend the use of strings.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 12 Jun 2014 14:55:48 +0000 (10:55 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 12 Jun 2014 14:55:48 +0000 (10:55 -0400)
src/ChangeLog
src/keymap.c

index 0e2af2d766ee170cbd81ac091645d17f7c6e8a08..e1393f9062734b9a5b85f4ce085323c83ce92ce0 100644 (file)
@@ -1,3 +1,8 @@
+2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keymap.c (silly_event_symbol_error): Don't recommend the use
+       of strings.
+
 2014-06-11  Eli Zaretskii  <eliz@gnu.org>
 
        * xdisp.c (set_cursor_from_row): Fix an off-by-one error when
@@ -12,7 +17,7 @@
        * nsterm.m (run): Always compile for Cocoa.  Use runtime check to
        determine 10.9 (Bug#17751).
 
-       * macfont.m (macfont_draw): positions where not freed.
+       * macfont.m (macfont_draw): Positions were not freed.
 
 2014-06-10  Dmitry Antipov  <dmantipov@yandex.ru>
 
        was moved to Fgarbage_collect.
        (Fgarbage_collect): Calculate the end address of the stack portion
        that needs to be examined by mark_stack, and pass that address to
-       garbage_collect_1, which will pass it to mark_stack.  See
-       http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00270.html
+       garbage_collect_1, which will pass it to mark_stack.
+       See http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00270.html
        for more details about the underlying problems.  In particular,
        this avoids dumping Emacs with the large hash-table whose value is
        held in purify-flag for most of the time loadup.el runs.
index 663c4661be36b7c68f2d271d0e3bc16c5ca7ce55..0b2b61dcc05743a0679cf046641bc816d07fa78b 100644 (file)
@@ -1383,9 +1383,7 @@ silly_event_symbol_error (Lisp_Object c)
       c = reorder_modifiers (c);
       keystring = concat2 (build_string (new_mods), XCDR (assoc));
 
-      error ((modifiers & ~meta_modifier
-             ? "To bind the key %s, use [?%s], not [%s]"
-             : "To bind the key %s, use \"%s\", not [%s]"),
+      error ("To bind the key %s, use [?%s], not [%s]",
             SDATA (SYMBOL_NAME (c)), SDATA (keystring),
             SDATA (SYMBOL_NAME (c)));
     }