Re: EWW with Duck-Duck-Go

[email protected] Sun, 31 May 2026 12:16:38 +0200
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
On Sun, May 31, 2026 at 10:08:52AM +0000, gfp wrote:
> Am 31.05.26 um 11:56 schrieb [email protected]:
> > (eval-after-load 'ewww
> >      ;; your-code-here
> >      )
> 
> 
> I put it like this:
> 
> (eval-after-load 'ewww
>    (add-to-list 'eww-readable-urls "www\\.mojeek\\.com")
>    (setopt eww-search-prefix "https://www.mojeek.com/search?q="))

Ah, no, eval-after-load doesn't take a sequence, but just
*one* form (cf. its function-doc, with C-h f). So try

  (eval-after-load 'ewww
    (progn
      ;; your statements here
    ))

So effectively wrapping your sequence into one form.

Cheers
-- 
t
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCahwKfwAKCRAFyCz1etHa
RrbAAJ92T6DrIHsPweey/t9jqQwzQ0B8xgCZAVQEQUb++VCmJZlRgCKfObV7DwM=
=vesW
-----END PGP SIGNATURE-----