[OS X Emacs] Re: html-helper again

Tom Van Vleck thvv-gmane at multicians.org
Sat Jan 17 10:10:30 EST 2009


Terry Jones <tcj25 <at> cam.ac.uk> writes:
> So you could do something like this:
> 
> (labels
>     ((filter-cdr (l omit)
>        (cond
>         ((not l) nil)
>         ((eq (cdar l) omit) (filter-cdr (cdr l) omit))
>         ((cons (car l) (filter-cdr (cdr l) omit))))))
>   (setq magic-mode-alist (filter-cdr magic-mode-alist 'html-helper-mode)))
> 
> Which would "fix" magic-mode-alist, but may not banish html-helper-mode
> forever.

This code has stopped working in Aquamacs 1.6.
   Symbol's function definition is void: labels





More information about the MacOSX-Emacs mailing list