aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorMiles Bader2006-07-19 00:42:56 +0000
committerMiles Bader2006-07-19 00:42:56 +0000
commit63db3c1b3ffa669435b10aa362115ef664990ab2 (patch)
treea62f68b147d4265ce993136af897d4f348570594 /src/keymap.c
parent2988d6b36d310ba98ea1fed570142f436804fc18 (diff)
parent83676aa2e399363120942ef5ea19f8af6b75e8e8 (diff)
downloademacs-63db3c1b3ffa669435b10aa362115ef664990ab2.tar.gz
emacs-63db3c1b3ffa669435b10aa362115ef664990ab2.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 343-356) - Update from CVS - Update for ERC 5.1.3. - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 113-115) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-90
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/keymap.c b/src/keymap.c
index c763ee71831..af9d817a1eb 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -733,7 +733,7 @@ usage: (map-keymap FUNCTION KEYMAP) */)
733 if (INTEGERP (function)) 733 if (INTEGERP (function))
734 /* We have to stop integers early since map_keymap gives them special 734 /* We have to stop integers early since map_keymap gives them special
735 significance. */ 735 significance. */
736 Fsignal (Qinvalid_function, Fcons (function, Qnil)); 736 xsignal1 (Qinvalid_function, function);
737 if (! NILP (sort_first)) 737 if (! NILP (sort_first))
738 return call3 (intern ("map-keymap-internal"), function, keymap, Qt); 738 return call3 (intern ("map-keymap-internal"), function, keymap, Qt);
739 739
@@ -1161,8 +1161,7 @@ binding KEY to DEF is added at the front of KEYMAP. */)
1161 GCPRO3 (keymap, key, def); 1161 GCPRO3 (keymap, key, def);
1162 keymap = get_keymap (keymap, 1, 1); 1162 keymap = get_keymap (keymap, 1, 1);
1163 1163
1164 if (!VECTORP (key) && !STRINGP (key)) 1164 CHECK_VECTOR_OR_STRING (key);
1165 key = wrong_type_argument (Qarrayp, key);
1166 1165
1167 length = XFASTINT (Flength (key)); 1166 length = XFASTINT (Flength (key));
1168 if (length == 0) 1167 if (length == 0)
@@ -1282,8 +1281,7 @@ recognize the default bindings, just as `read-key-sequence' does. */)
1282 GCPRO2 (keymap, key); 1281 GCPRO2 (keymap, key);
1283 keymap = get_keymap (keymap, 1, 1); 1282 keymap = get_keymap (keymap, 1, 1);
1284 1283
1285 if (!VECTORP (key) && !STRINGP (key)) 1284 CHECK_VECTOR_OR_STRING (key);
1286 key = wrong_type_argument (Qarrayp, key);
1287 1285
1288 length = XFASTINT (Flength (key)); 1286 length = XFASTINT (Flength (key));
1289 if (length == 0) 1287 if (length == 0)