[Top][All Lists]

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

Re: running lisp code like file variables

From: Lennart Borgman (gmail)
Subject: Re: running lisp code like file variables
Date: Thu, 24 Jul 2008 00:47:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

Xah wrote:
is there a way to attache a simple lisp code to a file like file

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.


  (info "(emacs) File Variables")

reply via email to

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