Hi all,

I've noticed I get the following error when entering the bookmarks buffer:

  Error in post-command-hook: (void-variable tla-bookmarks-font-lock-keywords)

The code causing the problem is this form in `tla-bookmarks-mode':

  (set (make-local-variable 'font-lock-defaults)
       '(tla-bookmarks-font-lock-keywords t))

The faces are still being set correctly in the bookmarks buffer because
`tla-bookmarks-printer' is handling it.

I guess we could either remove the above form from `tla-bookmarks-mode'
and leave the fontification to `tla-bookmarks-printer', or remove the
fontification from `tla-bookmarks-printer' and define
tla-bookmarks-font-lock-keywords.  Does anyone have a preference on
this?  Doing the highlighting through font-lock-defaults seems to be
more consistent with the way things are done in other places.

For what it's worth, I've tried both cases.  They both work fine and I
can commit either patch :o)

Mark

-- 
Mark Triggs
<[EMAIL PROTECTED]>

Reply via email to