emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] automatically save org-index after it changes?


From: Alan Schmitt
Subject: Re: [O] automatically save org-index after it changes?
Date: Fri, 05 Feb 2016 14:07:07 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin)

Hello,

On 2016-02-04 13:42, Alan Schmitt <address@hidden> writes:

> Each time I use org-index to jump to some headline, the file where the
> table lives is modified. Is there a way to automatically save the file
> after each such change?

The solution I’ve found is not org specific, but it may still be of
interest here. I looked into how autosave work, and I can tweak it for
that particular file using:

# -*- auto-save-visited-file-name: t; -*-

This way the file is autosaved (for instance when emacs is idle) as if
it was really saved (and not in another file).

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated February 4, 2016, Mauna Loa Obs.): 403.08 ppm

Attachment: signature.asc
Description: PGP signature


reply via email to

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