From: Christopher Howard <christopher@librehacker.com>
To: Help Gnu Emacs Mailing List <help-gnu-emacs@gnu.org>
Subject: switch buffer variable context after (push-button)?
Date: Tue, 31 Dec 2024 13:56:08 -0900 [thread overview]
Message-ID: <87ed1nv4vr.fsf@librehacker.com> (raw)
Hi, I'm trying to automate some various procedures I do — private tasks, not of general interest. One was to navigate to a button in a buffer, and then run (push-button) which opens a link to a Web page in EWW. (The button target may vary.) After that, I wanted to run (eww-readable), but it gives me an error. After some debugging, I figured out the eww-readable was trying to use the value of the eww-data variable from the previous buffer — which is nil — rather than the value of it in the EWW buffer.
Is there a function that I have to call first, so that my elisp function sees the variable values from the second buffer instead of the original one?
--
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 http://gem.librehacker.com
בראשית ברא אלהים את השמים ואת הארץ
next reply other threads:[~2024-12-31 22:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-31 22:56 Christopher Howard [this message]
2025-01-01 2:07 ` switch buffer variable context after (push-button)? Joel Reicher
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ed1nv4vr.fsf@librehacker.com \
--to=christopher@librehacker.com \
--cc=help-gnu-emacs@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.
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).