Sorry for not answering earlier but I just retrieved your response from
gmx's spam folder.

> So, what is now the recommended way to set file-specific font-lock
> keywords using file-local variables?  If this has changed, it should be
> specified in the NEWS.  I can write an entry once I understand the
> answer to my questions above.

You could add to your .emacs something like

(setq safe-local-eval-forms '((my-very-private-foobar))) ; customizable!

(defun my-very-private-foobar ()
  (setq font-lock-defaults '(("^\\s-*:0" "##+")))
  (font-lock-mode 1))

and in the local variables section use

# Local Variables:
# eval: (my-very-private-foobar)
# End:







_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to