From: Bruno Barbier <brubar.cs@gmail.com>
To: "Sébastien Gendre" <seb@k-7.ch>, "Org Mode List" <emacs-orgmode@gnu.org>
Subject: Re: How to get in-buffer setting from Elisp code
Date: Sun, 10 Mar 2024 11:46:36 +0100 [thread overview]
Message-ID: <65ed8f8e.050a0220.361f9.46ed@mx.google.com> (raw)
In-Reply-To: <87bk7mer6r.fsf@k-7.ch>
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 10:47 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 [this message]
2024-03-10 11:39 ` Sébastien Gendre
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=65ed8f8e.050a0220.361f9.46ed@mx.google.com \
--to=brubar.cs@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=seb@k-7.ch \
/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).