emacs-devel
[Top][All Lists]
Advanced

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

Re: lexical-binding is turned on in more use cases


From: Alan Mackenzie
Subject: Re: lexical-binding is turned on in more use cases
Date: Sun, 8 Mar 2020 20:15:06 +0000
User-agent: Mutt/1.10.1 (2018-07-13)

Hello again, Eli.

On Sun, Mar 08, 2020 at 22:06:52 +0200, Eli Zaretskii wrote:
> > Date: Sun, 8 Mar 2020 19:56:20 +0000
> > From: Alan Mackenzie <address@hidden>
> > Cc: address@hidden, address@hidden

> > > Does it help to say

> > >   M-: (eval (c-align-cpp-indent-to-body))

> > > instead?

> > Well, the essential thing was getting a binding of c-syntactic-context
> > for calling c-align-cpp-indent-to-body.  So, I tried:

> >     M-: (eval (let ((c-syntactic-context (...)))
> >     (c-align-cpp-indent-to-body)))

> > , but this didn't help at all.

> And if you quote the form?

To be precise,

    M-: (eval '(let (...) (c-align-cpp-indent-to-body)))

runs correctly, but fails to stop in c-align-..-body, even though it is
instrumented for edebug.

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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