[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make M-x woman respect display-buffer-alist
From: |
Michael Heerdegen |
Subject: |
Re: Make M-x woman respect display-buffer-alist |
Date: |
Wed, 24 Jun 2015 18:02:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi Kaushal,
> I was trying to make the WoMan buffers open as I intend to using
> display-buffer-alist. But that was not working.
I guess your message got lost here, better make a bug report, and
better include a patch than the whole changed code.
> can that change be made in the master?
I think it would be an improvement.
The very same applies to eww:
--8<---------------cut here---------------start------------->8---
(defun eww-setup-buffer ()
(switch-to-buffer (get-buffer-create "*eww*")) ; <-----
(let ((inhibit-read-only t))
(remove-overlays)
(erase-buffer))
(unless (eq major-mode 'eww-mode)
(eww-mode)))
--8<---------------cut here---------------end--------------->8---
Maybe there are more cases. It's surely worth discussing.
Regards,
Michael.