[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: |
Michael Heerdegen |
Subject: |
Re: Trying to find the status of auto-fill-mode in a buffer |
Date: |
Tue, 19 Nov 2024 18:38:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Alexandros Prekates <aprekates@posteo.net> writes:
> > > C-h f auto-fill-mode says :
> > > ''To check whether the minor mode is
> > > enabled in the current buffer, evaluate ‘auto-fill-function’. ''
> > >
> > > How do we test that IN a certain buffer ?
> > > I evaluated (auto-fill-function) in scratch buffer
> > > but it gives me nil.
> It seemed like little a riddle!! Evaluate a variable that has function
> in its name.
The code that generates this particular output is relatively new (a
couple of months).
In the general case, what has to be evaluated can potentially be any
kind of expression, but maybe we could find a better wording in the
special case where the expression is a variable, like here.
Maybe "look at the binding of VAR" or something like that. Would that
have been less confusing?
Michael.
- Trying to find the status of auto-fill-mode in a buffer, Alexandros Prekates, 2024/11/19
- Re: Trying to find the status of auto-fill-mode in a buffer, Arsen Arsenović, 2024/11/19
- Re: Trying to find the status of auto-fill-mode in a buffer, Alexandros Prekates, 2024/11/19
- Re: Trying to find the status of auto-fill-mode in a buffer, Robert Pluim, 2024/11/19
- Re: Trying to find the status of auto-fill-mode in a buffer, Arsen Arsenović, 2024/11/19
- Re: Trying to find the status of auto-fill-mode in a buffer, Michael Heerdegen, 2024/11/19
- Re: Trying to find the status of auto-fill-mode in a buffer,
Michael Heerdegen <=
- Re: Trying to find the status of auto-fill-mode in a buffer, Robert Pluim, 2024/11/20
- Re: Trying to find the status of auto-fill-mode in a buffer, Michael Heerdegen, 2024/11/20
- Re: Trying to find the status of auto-fill-mode in a buffer, Robert Pluim, 2024/11/20
- Re: Trying to find the status of auto-fill-mode in a buffer, Michael Heerdegen, 2024/11/20
- Re: Trying to find the status of auto-fill-mode in a buffer, Eli Zaretskii, 2024/11/20
- Re: Trying to find the status of auto-fill-mode in a buffer, Michael Heerdegen, 2024/11/20
- Re: Trying to find the status of auto-fill-mode in a buffer, Eli Zaretskii, 2024/11/21
- Re: Trying to find the status of auto-fill-mode in a buffer, mbork, 2024/11/20