help-gnu-emacs
[Top][All Lists]
Advanced

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

running lisp code like file variables


From: Xah
Subject: running lisp code like file variables
Date: Wed, 23 Jul 2008 15:23:57 -0700 (PDT)
User-agent: G2/1.0

is there a way to attache a simple lisp code to a file like file
variables?

for example, i want this line at the top of a file,

-*- (highlight-regexp "\([^"]+\)" hi-yellow) -*-

when the file is opened, the expr is evaluated so that all double
quoted text are highlighted.

Thanks.

  Xah
∑ http://xahlee.org/

reply via email to

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