emacs-orgmode
[Top][All Lists]
Advanced

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

[O] autorun M-x linum-mode when file is opened


From: Sharon Kimble
Subject: [O] autorun M-x linum-mode when file is opened
Date: Sat, 09 Aug 2014 18:56:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux)

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.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.92.1

Attachment: signature.asc
Description: PGP signature


reply via email to

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