[p4] P4 emacs mode -- how do I turn off backup files?

Roy Smith smith_roy at emc.com
Tue Mar 27 13:27:20 PST 2007


I'm using Emacs-P4 Integration v10.5 and GNU Emacs 21.3.1.  How do I  
convince emacs to NOT make backup (~) files when editing a file under  
p4 control?  With CVS, the emacs VC mode knew to do this automatically.

I'm sure the answer has something to do with writing a p4-hook  
function which sets make-backup-files to nil, but I can't quite get  
the right incantation, especially with regard to making sure that  
backups are only turned off in buffers which contain P4 files.

-------------------
Roy Smith <smith_roy at emc.com>
Software Guy, EMC Common Management Group
44 South Broadway, 7th floor
White Plains, NY 10601
(914) 580-3427




More information about the perforce-user mailing list