help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Trying to find the status of auto-fill-mode in a buffer


From: Arsen Arsenović
Subject: Re: Trying to find the status of auto-fill-mode in a buffer
Date: Tue, 19 Nov 2024 15:52:33 +0100

Hi,

Alexandros Prekates <aprekates@posteo.net> writes:

> Thank you. 
> It seemed like little a riddle!!  Evaluate a variable that has function
> in its name. 

A bit confusing, yes ;)

> But how do we use scratch a classic REPL ? I mean if a was in a clisp
> repl it may had occured me to 'evaluate' a variable. But by default
> scratch is not a repl.

It is: if you hit C-j it evaluates the previous s-expr.

> I indeed evaluated as you said auto-fill-function but i get my result
> in the echo area.
>
> Also how evaluating a variable in scratch the scratch nows for which
> buffer we asked for ?

As others have answered, using `with-current-buffer'.
-- 
Arsen Arsenović

Attachment: signature.asc
Description: PGP signature


reply via email to

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