[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How can I autorun M-x linum-mode when file is opened?
From: |
Thomas S. Dye |
Subject: |
Re: [O] How can I autorun M-x linum-mode when file is opened? |
Date: |
Sun, 10 Aug 2014 07:11:20 -1000 |
Aloha Sharon,
Sharon Kimble <address@hidden> writes:
> How can I have a command auto-run when a file is opened from 'desktop
> recovery' please? I want to auto-run "M-x linum-mode" when I open my
> daily journal, which stays open all the time. Running that command will
> switch off linum-mode for that file, which may stop "file-rot" that I
> have observed in the past. This can, at present, only be resolved by
> shutting down emacs for half an hour or so, and then restarting it,
> and normal functionality will have been restored.
Is this a question about Org mode?
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com