I vaguely guess you are running w3m-next-anchor
or w3m-previous-anchor
in a buffer in which formatted web contents are copied from a temp buffer where w3m-region
runs to format an html source. If so, at least the local variable w3m-max-anchor-sequence
should also be copied, for example:
(let (formatted-contents max-anchor)
(set-buffer mu4e-buffer)
(with-temp-buffer
(insert an-html-contents)
(w3m-region (point-min) (point-max))
(setq formatted-contents (buffer-string)
max-anchor w3m-max-anchor-sequence))
(insert formatted-contents)
(setq w3m-max-anchor-sequence max-anchor))
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.