[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Is C-X ESC ESC malfunctioning?

From: Drew Adams
Subject: RE: Is C-X ESC ESC malfunctioning?
Date: Wed, 3 Apr 2013 06:34:01 -0700

> If you use `repeat-complex-command' to perform the last 
> command, it will use `(count-words nil nil)'.  nil is not
> an integer or a marker, so an error arises.
> > I expected the C-x ESC ESC to perform without error just as 
> > if I entered the M-x count-words What should be expected here?
> I'm not sure whether it is a bug or a feature here.

A bug.

(called-interactively 'any) returns nil here, so the code then calls
`narrow-to-region' with START and END each nil.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]