From: "Sébastien Gendre" <seb@k-7.ch>
To: Bruno Barbier <brubar.cs@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: How to get in-buffer setting from Elisp code
Date: Sun, 10 Mar 2024 12:39:35 +0100 [thread overview]
Message-ID: <87jzmaco1u.fsf@k-7.ch> (raw)
In-Reply-To: <65ed8f8e.050a0220.361f9.46ed@mx.google.com>
Hi,
Thank you for your reply.
I talk about the Org-mode In-Buffer settings:
https://orgmode.org/manual/In_002dbuffer-Settings.html
Bruno Barbier <brubar.cs@gmail.com> writes:
> Hi Sébastien,
>
> Sébastien Gendre <seb@k-7.ch> writes:
>
>> Hello,
>>
>> How can I access to an in-buffer setting value, from Elisp code ?
>>
>
> IIUC, they are called "Buffer-Local Variables".
>
> Using 'buffer-local-value' should give you the value of a variable in a
> buffer.
>
> See the manual for more:
> (info "(elisp) Buffer-Local Variables")
>
>
> Bruno
next prev parent reply other threads:[~2024-03-10 11:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-08 23:33 How to get in-buffer setting from Elisp code Sébastien Gendre
2024-03-10 10:46 ` Bruno Barbier
2024-03-10 11:39 ` Sébastien Gendre [this message]
2024-03-10 12:40 ` Gerard Vermeulen
2024-03-10 19:37 ` Sébastien Gendre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jzmaco1u.fsf@k-7.ch \
--to=seb@k-7.ch \
--cc=brubar.cs@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).