[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19902: 25.0.50; Make eww entry point more info-like
From: |
Ivan Shmakov |
Subject: |
bug#19902: 25.0.50; Make eww entry point more info-like |
Date: |
Sat, 21 Feb 2015 10:37:09 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>>>>> Mark Oteiza <mvoteiza@udel.edu> writes:
>>>>> On 19/02/15 at 05:55pm, Mark Oteiza wrote:
>> + (if (and (get-buffer buffer) (or (not current-prefix-arg) (numberp
>> current-prefix-arg)))
>> + (pop-to-buffer-same-window (or buffer "*eww*"))
>> + (eww-goto-url url (or buffer "*eww*"))))
> `buffer' has to be non-nil, so the first predicate should instead be
> (and buffer (get-buffer buffer)
> (or (not current-prefix-arg (numberp current-prefix-arg))))
… And thus (or buffer …) is the same as simply ‘buffer’ in the
“true” branch.
(if (and buffer (get-buffer buffer)
(or (not current-prefix-arg) (numberp current-prefix-arg)))
(pop-to-buffer-same-window buffer)
(eww-goto-url url (or buffer "*eww*")))
--
FSF associate member #7257 np. Vivo duras sed vi molas — Martin & La Talpoj
e