[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Add hook for one mode only
From: |
henry atting |
Subject: |
Add hook for one mode only |
Date: |
Sun, 28 Dec 2008 10:00:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Hello,
I want to change the tab-stop-list for ledger-mode only, so I thougt
this way would be a good idea:
(add-hook 'ledger-mode-hook
(function (lambda ()
(setq tab-stop-list (quote (4 56)))
)))
It is but only partially, because after leaving ledger-mode this setting
is kept for all other modes as well.
henry
- Add hook for one mode only,
henry atting <=