diff options
| author | Jim Blandy <jimb@redhat.com> | 1992-05-18 08:13:37 +0000 |
|---|---|---|
| committer | Jim Blandy <jimb@redhat.com> | 1992-05-18 08:13:37 +0000 |
| commit | 502ddf238f0ed280a301426804b2ed16ec1c49cc (patch) | |
| tree | b73b5866ff8c59b1be99067bcb342aea95294e8c /src/macros.c | |
| parent | f9f15513851223c20a9cbc49ac0cd4cde114a963 (diff) | |
| download | emacs-502ddf238f0ed280a301426804b2ed16ec1c49cc.tar.gz | |
entered into RCS
Diffstat (limited to 'src/macros.c')
| -rw-r--r-- | src/macros.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/macros.c b/src/macros.c index f9c158c89eb..64e91776f67 100644 --- a/src/macros.c +++ b/src/macros.c @@ -1,11 +1,11 @@ /* Keyboard macros. - Copyright (C) 1985, 1986 Free Software Foundation, Inc. + Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 1, or (at your option) +the Free Software Foundation; either version 2, or (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, @@ -201,9 +201,7 @@ COUNT is a repeat count, or nil for once, or 0 for infinite loop.") prefixarg = Fprefix_numeric_value (prefixarg), repeat = XINT (prefixarg); - final = macro; - while (XTYPE (final) == Lisp_Symbol && !EQ (final, Qunbound)) - final = XSYMBOL (final)->function; + final = indirect_function (macro); if (XTYPE (final) != Lisp_String && XTYPE (final) != Lisp_Vector) error ("Keyboard macros must be strings or vectors."); |
