emacs-devel
[Top][All Lists]
Advanced

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

Re: autoload for eww-suggest-uris


From: Ivan Shmakov
Subject: Re: autoload for eww-suggest-uris
Date: Wed, 11 Mar 2015 04:42:27 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Stefan Monnier <address@hidden> writes:

 >> How do we prevent it from interfering with an explicit ‘setq’ then?

 > The question is fundamentally: is eww-suggest-uris a hook, or is it a
 > list of functions?

 > If it's a hook, then using `setq' on it is a bug (and it should be
 > called eww-suggest-uris-hook or eww-suggest-uris-functions).

        If we define a hook as a variable holding a list of functions
        and provided with the purpose of allowing proper operation of
        arbitrary extensions to the base code, then no – I believe
        eww-suggest-uris is /not/ a hook.  Still, it’s a (customizable)
        list of functions, defined with :type 'hook, and (arguably) one
        may use add-hook in one’s ~/.emacs to add to it.  (The use of
        add-hook against this variable in EWW extensions – should there
        be any – is debatable, though.)

-- 
FSF associate member #7257  np. La Druido — Strika Tango  3013 B6A0 230E 334A



reply via email to

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