[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/keymap.c
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/keymap.c |
Date: |
Sun, 30 Apr 2006 22:15:14 +0000 |
Index: emacs/src/keymap.c
diff -u emacs/src/keymap.c:1.323 emacs/src/keymap.c:1.324
--- emacs/src/keymap.c:1.323 Wed Apr 26 20:50:25 2006
+++ emacs/src/keymap.c Sun Apr 30 22:15:13 2006
@@ -1193,8 +1193,11 @@
if (!CONSP (keymap))
/* We must use Fkey_description rather than just passing key to
error; key might be a vector, not a string. */
- error ("Key sequence %s uses invalid prefix characters",
- SDATA (Fkey_description (key, Qnil)));
+ error ("Key sequence %s starts with non-prefix key %s",
+ SDATA (Fkey_description (key, Qnil)),
+ SDATA (Fkey_description (Fsubstring (key, make_number (0),
+ make_number (idx)),
+ Qnil)));
}
}