[Top][All Lists]

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

Re: kill ring menu

From: Miles Bader
Subject: Re: kill ring menu
Date: 22 May 2002 10:42:45 +0900

Colin Walters <address@hidden> writes:
> Also, having to work with uninterned symbols is definitely a
> disadvantage.

It doesn't have to be as bad as it is in the code you showed though --
certainly there ought to at least be a font-lock helper function, e.g.,
instead of the current:

   (car (nth 1 font-lock-category-alist))

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.

We live, as we dream -- alone....

reply via email to

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