~villemvainio/leo-editor/leo-trunk-dev

« back to all changes in this revision

Viewing changes to leo/core/leoCommands.py

  • Committer: Ville M. Vainio
  • Date: 2008-09-06 19:26:43 UTC
  • Revision ID: vivainio@gmail.com-20080906192643-7n2ezpr0jnppg11f
open_with: use FILENAME_Leotemp_1212.ext syntax instead of LeoTemp_1212_FILENAME.ext

Show diffs side-by-side

added added

removed removed

Lines of Context:
815
815
 
816
816
        """Return the path to the temp file corresponding to p and ext."""
817
817
 
818
 
        name = "LeoTemp_%s_%s%s" % (
 
818
        name = "%s_LeoTemp_%s%s" % (
 
819
            g.sanitize_filename(p.headString()),
819
820
            str(id(p.v.t)),
820
 
            g.sanitize_filename(p.headString()),
821
821
            ext)
822
822
 
823
823
        name = g.toUnicode(name,g.app.tkEncoding)