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

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

pre- and post- actions on file write


From: Noel Yap
Subject: pre- and post- actions on file write
Date: Thu, 25 Jul 2002 11:35:31 -0700 (PDT)

Would anyone know how I could go about:
1. querying the permissions of a file just before
saving.
2. setting the permissions of the file to what they
were to begin with (or using umask to set the
permissions of a new file).

I'm running within a Cygwin environment and emacs
keeps turning on the execute bits of the files I'm
editing.

Thanks,
Noel

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com



reply via email to

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