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

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

Re: Automatic versioning


From: Joel J. Adamson
Subject: Re: Automatic versioning
Date: Fri, 04 Apr 2008 09:44:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:

> Timothy Hobbs wrote:
>> Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:
>>
>>> (defadvice save-buffer (before version activate)
>>>   "I wish to have all files versioned, period."
>>>   (ad-set-arg 0 '(64)))
>>
>> What exactly does this do?
>
> It makes save-buffer behave as if it were invoked as
> `C-u C-u C-u C-x C-s' (see "Prefixed with three C-u's"
> below).

Will this not just multiply the number of copies of the file?  Is that
what OP wants?

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109
Public key: http://pgp.mit.edu

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.







reply via email to

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