|
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:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Xah wrote:
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.
See (info "(emacs) File Variables")
[Prev in Thread] | Current Thread | [Next in Thread] |