[emacs-w3m:13760] [emacs-w3m/emacs-w3m] Fixes for w3m-current-url = NIL, loading images from ext program (#92)
Boruch Baum <[email protected]> Thu, 08 Apr 2021 00:18:53 -0700
| Newsgroups | gmane.emacs.w3m |
|---|---|
| Message-ID | <emacs-w3m/emacs-w3m/pull/[email protected]> |
+ Several instances were found of string operations being performed on
w3m-current-url without checking if the variable was a string.
+ When an external program calls emacs/emacs-w3m to open a URI that is
an image, and emacs-w3m is configured to view that filetype
externally, it still creates a new emac-w3m buffer.
+ This patch deletes the created buffer; however, wouldn't it be
better never to create it in the first place?
+ That might not be possible because the way asynchronous processes
need to be associated with a buffer, but even so the current
situation needlessly makesthe new buffer a copy of the most recent
emacs-w3m buffer.
You can view, comment on, or merge this pull request online at:
https://github.com/emacs-w3m/emacs-w3m/pull/92
-- Commit Summary --
* Fixes for w3m-current-url = NIL, loading images from ext program
-- File Changes --
M ChangeLog (10)
M w3m-proc.el (25)
M w3m.el (11)
-- Patch Links --
https://github.com/emacs-w3m/emacs-w3m/pull/92.patch
https://github.com/emacs-w3m/emacs-w3m/pull/92.diff
--
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