help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Fontifying function calls in emacs-lisp-mode


From: rjp
Subject: Re: Fontifying function calls in emacs-lisp-mode
Date: Tue, 3 Jul 2007 06:12:10 -0700 (PDT)

Hi Guys, I found this thread through a google search and it sounds very
similar to what I need to do.

I am trying to make all function calls blue in xemacs. I have already
changed the face for function names, but this only affects the function
definition line. I want to colorize the function call line as well. I am not
very familiar with customizing emacs but it sounds like this LISP code
discussed here is trying to do the same thing. Is this correct? Can you give
me something that I can just paste into my init.el file to do the trick?

Thanks very much,

Rich

Nordlöw wrote:
> 
> On 25 Apr, 08:36, martin rudalics <rudal...@gmx.at> wrote:
>> (defun pnw-emacs-lisp-mode-extra-font-locking ()
>>    (font-lock-add-keywords
>>     nil
>>     (list
>>      ...
>>     t)) ; Try to assign the third argument HOW here to anything but 'set
> 
> Brilliant!
> 
> I had forgot about that argument...
> 
> It just realized that my regexp does not correctly fontify quoted
> constructs. I guess you need a full emacs-lisp parser to do that. But
> it works good enough for my needs.
> 
> 
> Thanks,
> 
> Nordlöw
> 
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Fontifying-function-calls-in-emacs-lisp-mode-tf3639819.html#a11411888
Sent from the Emacs - Help mailing list archive at Nabble.com.





reply via email to

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