emacs-devel
[Top][All Lists]
Advanced

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

Re: kill ring menu


From: Colin Walters
Subject: Re: kill ring menu
Date: 21 May 2002 23:07:45 -0400

On Tue, 2002-05-21 at 21:42, Miles Bader wrote:

> It should be something like (say):
> 
>    (font-lock-face-category 'info-title-face)
> 
> `font-lock-face-category' will look up normally interned symbol
> `info-title-face' in the list of uninterned category symbols it's using,
> and return the appropriate uninterned category symbol.  Then the only
> real disadvantage is that the programmer has to call a function instead
> of using a constant.

The only way I can think of to implement said `font-lock-face-category'
is to loop through all the symbols in `font-lock-category-alist' and use
`symbol-name' to compare their string names.  That just seemed too
inefficient.








reply via email to

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