SL Baur <steve(a)xemacs.org> writes:
>> also, using anonymous functions in hooks is a bad idea since
they
>> are hard to remove. binding a key to an anonymous (and
>> interactive) function is equally a bad idea.
One point being you can't just evaluate the hook variable in
*scratch*, modify something and reevalute it -- it'll puke on the
un(lisp)readable bytecode object.
Set `print-readably' to t if you want to do such things.
> It does, but in the specific NEWS example it looks better to
use
> the anonymous function than to cons up a new function only for
> that purpose.
Yup. Just what is gdb-highlight doing in NEWS anyway? Or do I want
to know?
It wasn't distributed with 20.4, was it? What more explanation is
needed?
Cool features are worth nil if they are not announced. And
gdb-highlight is *way* cool.
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
* Q: What is an experienced Emacs user?
* A: A person who wishes that the terminal had pedals.