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

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

Re: How to watch a variable?


From: Daniel Jensen
Subject: Re: How to watch a variable?
Date: Mon, 03 Sep 2007 14:29:29 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

I wrote:

>     (add-hook 'foo-mode-hook
>               (lambda ()
>                 (setq outline-regexp (default-value 'outline-regexp))))

Eh, how about (kill-local-variable 'outline-regexp) instead.


reply via email to

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