aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorJim Blandy1992-05-18 08:13:37 +0000
committerJim Blandy1992-05-18 08:13:37 +0000
commit502ddf238f0ed280a301426804b2ed16ec1c49cc (patch)
treeb73b5866ff8c59b1be99067bcb342aea95294e8c /src/keymap.c
parentf9f15513851223c20a9cbc49ac0cd4cde114a963 (diff)
downloademacs-502ddf238f0ed280a301426804b2ed16ec1c49cc.tar.gz
emacs-502ddf238f0ed280a301426804b2ed16ec1c49cc.zip
entered into RCS
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 5fde6b20a74..89a273db972 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -1,11 +1,11 @@
1/* Manipulation of keymaps 1/* Manipulation of keymaps
2 Copyright (C) 1985, 1986, 1987, 1988 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1987, 1988, 1992 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
6GNU Emacs is free software; you can redistribute it and/or modify 6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 1, or (at your option) 8the Free Software Foundation; either version 2, or (at your option)
9any later version. 9any later version.
10 10
11GNU Emacs is distributed in the hope that it will be useful, 11GNU Emacs is distributed in the hope that it will be useful,
@@ -174,12 +174,7 @@ get_keymap_1 (object, error)
174{ 174{
175 register Lisp_Object tem; 175 register Lisp_Object tem;
176 176
177 tem = object; 177 tem = indirect_function (object);
178 while (XTYPE (tem) == Lisp_Symbol && !EQ (tem, Qunbound))
179 {
180 tem = XSYMBOL (tem)->function;
181 QUIT;
182 }
183 if (CONSP (tem) && EQ (XCONS (tem)->car, Qkeymap)) 178 if (CONSP (tem) && EQ (XCONS (tem)->car, Qkeymap))
184 return tem; 179 return tem;
185 if (error) 180 if (error)