[emacs-w3m:13763] Re: [emacs-w3m/emacs-w3m] Fixes for w3m-current-url = NIL, loading images from ext program (#92)

Boruch Baum <[email protected]> Thu, 08 Apr 2021 03:05:15 -0700
Newsgroups gmane.emacs.w3m
Message-ID <emacs-w3m/emacs-w3m/pull/92/[email protected]>
Upon further testing, on restarting a clean emacs session and importing a set of URLs from a session list, I saw it was necessary to make another check. It turns out that emacs-w3m does try in several places to clean up unnecessary buffers, using function w3m-delete-buffer-if-empty. The problem with that is emacs-w3m sometimes starts off by cloning or copying  a buffer, so in those cases the buffer isn't empty when the clean up is attempted.

This PR works, it does the job, but it would be better to find out where the buffer cloning is happening and how to determine the exact conditions to stop it from happening when not necessary.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/emacs-w3m/emacs-w3m/pull/92#issuecomment-815632439