help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: eww - multiple buffers


From: Andreas Röhler
Subject: Re: eww - multiple buffers
Date: Mon, 13 Jun 2016 10:21:48 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.8.0



On 10.06.2016 16:57, Michael Heerdegen wrote:
Andreas Röhler <address@hidden> writes:

When looking at, it seems to use the very same buffer too.

(defun eww-browse-url (url &optional new-window)
   (when new-window
     (pop-to-buffer-same-window (generate-new-buffer "*eww*"))
     (eww-mode))
No, it doesn't, see the doc of `generate-new-buffer'.


Michael.



Right, thanks. So that way it numerates buffers given C-u:

(defun ar-eww (&optional new-buffer)
  (interactive "P")
  (let ((erg (read-from-minibuffer "Url: ")))
    (eww-browse-url erg new-buffer)))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]