Skip to content

Commit

Permalink
use error message on dwquit when unsaved changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Klier committed Jul 29, 2010
1 parent 172ec30 commit c74c1a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/dokuvimki.vim
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ class DokuVimKi:
if text and not self.ismodified(wp):
print >>sys.stdout, "No unsaved changes in current buffer."
elif not text and not wp in self.pages:
print >>sys.stdout, "Can't save new empty page %s" % wp
print >>sys.stdout, "Can't save new empty page %s." % wp
else:
if not sum and text:
sum = self.default_sum
Expand Down Expand Up @@ -728,7 +728,7 @@ class DokuVimKi:
if len(unsaved) == 0:
vim.command('silent! quitall')
else:
print >>sys.stdout, "Some buffers contain unsaved changes. Use DWquit! if you really want to quit."
print >>sys.stderr, "Some buffers contain unsaved changes. Use DWquit! if you really want to quit."


def help(self):
Expand Down

0 comments on commit c74c1a7

Please sign in to comment.