emacs-devel
[Top][All Lists]
Advanced

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

Re: [External] : Re: master 927b885 1/3: Disable filtering of commands i


From: martin rudalics
Subject: Re: [External] : Re: master 927b885 1/3: Disable filtering of commands in M-x completion
Date: Fri, 19 Feb 2021 00:15:42 +0100

>> (defun foo (&optional beg end)
>>   (interactive "r")
>>   (message "FOO"))
>>
>> 1. `emacs -Q'
>> 2. Eval that defun.
>> 3. `M-x foo'
>>
>> Just works.
>> No mark set, no active region, no error.
>> What am I missing?
>
> I have no idea.  Here it signals an error, in Emacs 26, 27, and 28.

Presumably Drew yanks in the definition of 'foo' which does push the
mark.  Hence the "mark will have been set" at the time he does "eval
that defun".  The recipe above is then probably botched.

martin



reply via email to

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