Does that apply to advice-add too? I use something like (advice-add #'kill-word :after (lambda (arg) (modi/space-as-i-mean))) On Thu, Jun 18, 2015 at 5:00 AM Jackson Hamilton < jackson@jacksonrayhamilton.com> wrote: > I figured I could generate more spelling error related compiler errors if > I added the hash. By that motivation, I'd prefer to add them in as many > places as possible. > > On Sat, Jun 13, 2015 at 7:59 PM, Stefan Monnier > wrote: > >> > - (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 >> > >