[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: replacing a function with another one
From: |
Michael Heerdegen |
Subject: |
Re: replacing a function with another one |
Date: |
Tue, 11 Mar 2014 02:45:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Michael Heerdegen <michael_heerdegen@web.de> writes:
> If you want such automatic saving, we would just have to substitute the
> dir local variable with a mechanism that loads and saves explicitly. Is
> this what you want?
I've created an example implementation:
hi-lock-lee.el
Description: application/emacs-lisp
You can specify the pattern save file in the local variables
section at the end of a file, but before a hi-lock mode specification,
like here:
Local Variables:
hi-lock-patterns-file: "patterns.txt"
mode: hi-lock
End:
Several files can share one pattern file. The example completely
substitutes file local patterns, if you want to use them at the same
time, it will become more complicated. If you don't bind
`hi-lock-patterns-file', the behavior is like before.
Regards,
Michael.
- Re: replacing a function with another one, (continued)
- Re: replacing a function with another one, lee, 2014/03/12
- Re: replacing a function with another one, Stefan Monnier, 2014/03/12
- Re: replacing a function with another one, Michael Heerdegen, 2014/03/12
- Re: replacing a function with another one, Stefan Monnier, 2014/03/10
- Re: replacing a function with another one, lee, 2014/03/10
- Re: replacing a function with another one, Michael Heerdegen, 2014/03/10
- Re: replacing a function with another one,
Michael Heerdegen <=
- Re: replacing a function with another one, lee, 2014/03/11
- Re: replacing a function with another one, Michael Heerdegen, 2014/03/11
- Re: replacing a function with another one, lee, 2014/03/12
- Re: replacing a function with another one, Stefan Monnier, 2014/03/12
- Re: replacing a function with another one, lee, 2014/03/12
- Re: replacing a function with another one, Michael Heerdegen, 2014/03/13
- Re: replacing a function with another one, lee, 2014/03/15
- Re: replacing a function with another one, lee, 2014/03/11
- Re: replacing a function with another one, Michael Heerdegen, 2014/03/11
- Re: replacing a function with another one, lee, 2014/03/11