[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Don't change window layout on quit [NO PATCH!]

This isn't a patch, and I'm not sure yet whether I even want to
recommend it, but if there are other people on the list who get annoyed
because they want their window configuration not to change when leaving
emacs-w3m, and for them emacs-w3m is always / often / sometimes closing
its window(s) and thus messing up their window layout, maybe it would be
appropriate to create an option accordingly. What I'm doing for now is
adding the following to my emacs-w3m-init file.

; Don't change window layout when exiting emacs-w3m
(defun my-true-advice-function (&optional args) t)
(advice-add 'w3m-delete-frames-and-windows :override `my-true-advice-function)

It's quite a heavy-handed hack, but it seems to be working.

CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0