--HG--
branch : pmacs2
This commit is contained in:
moculus 2007-10-18 01:48:22 +00:00
parent 7882a8dd7e
commit 4cefc6c900
2 changed files with 4 additions and 0 deletions

View File

@ -456,6 +456,9 @@ class FileBuffer(Buffer):
temp_path = self._temp_path()
data = self.make_string(nl=self.nl)
if self.windows[0].mode.savetabs:
data = data.replace(" ", "\t")
data = self.write_filter(data)
f2 = self._open_file_w(temp_path)

View File

@ -72,6 +72,7 @@ class Handler(object):
class Fundamental(Handler):
'''This is the default mode'''
savetabs = False
tabwidth = 4
tabbercls = None
grammar = None