[Top][All Lists]

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

Re: Change function name style

From: Andrea Crotti
Subject: Re: Change function name style
Date: Thu, 29 Jul 2010 23:42:05 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (darwin)

> I am a lisp newbie but how about something like this,
> (string-match "function-name"
>                          (symbol-name (if (< (point) (point-max))
>                                           (face-at-point)
>                                         (backward-char)
>                                         (face-at-point))))
> I use this to have context sensitive abbreviation expansion. Maybe you
> can adapt it for your case?

Thanks a lot, but how do you use exactly this thing that there is no

Anyway I see that strangely if I do face-at-point on a function call


I get a "default", it only recognizes functions when they're defined.
So maybe is not the way to go...

reply via email to

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