(Fcall_interactively): Fix handling of @
authorRichard M. Stallman <rms@gnu.org>
Tue, 11 Apr 1995 03:04:38 +0000 (03:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 11 Apr 1995 03:04:38 +0000 (03:04 +0000)
when it tests whether the event has a window in it.

src/callint.c

index 8fbd45c..b11c3d2 100644 (file)
@@ -383,7 +383,7 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
 
          event = XVECTOR (this_command_keys)->contents[next_event];
          if (EVENT_HAS_PARAMETERS (event)
-             && (event = XCONS (event)->car, CONSP (event))
+             && (event = XCONS (event)->cdr, CONSP (event))
              && (event = XCONS (event)->car, CONSP (event))
              && (event = XCONS (event)->car), WINDOWP (event))
            {