emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] master e2ceef9 57/79: Prepend function symbols with octothorp


From: Stefan Monnier
Subject: Re: [elpa] master e2ceef9 57/79: Prepend function symbols with octothorpes.
Date: Sat, 13 Jun 2015 22:59:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> -                   (advice-remove 'context-coloring-colorize advice)
> +                   (advice-remove #'context-coloring-colorize advice)

Actually, the first argument of `advice-remove' has to be a *symbol*
(bound to a function value) rather than a function, so I think it's
better to write 

                   (advice-remove 'context-coloring-colorize advice)
rather than
                   (advice-remove #'context-coloring-colorize advice)

IOW, I think #' only makes sense at those places where one could also
use a (lambda ...).  It's largely philosophical, admittedly.


        Stefan



reply via email to

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