~ubuntu-branches/ubuntu/karmic/emacs-snapshot/karmic

« back to all changes in this revision

Viewing changes to src/undo.c

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-04-05 09:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20090405091430-nw07lynn2arotjbe
Tags: upstream-20090320
ImportĀ upstreamĀ versionĀ 20090320

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* undo handling for GNU Emacs.
2
2
   Copyright (C) 1990, 1993, 1994, 2000, 2001, 2002, 2003, 2004,
3
 
                 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
3
                 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
4
4
 
5
5
This file is part of GNU Emacs.
6
6
 
689
689
 
690
690
The size is counted as the number of bytes occupied,
691
691
which includes both saved text and other data.  */);
692
 
  undo_limit = 20000;
 
692
  undo_limit = 80000;
693
693
 
694
694
  DEFVAR_INT ("undo-strong-limit", &undo_strong_limit,
695
695
              doc: /* Don't keep more than this much size of undo information.
701
701
 
702
702
The size is counted as the number of bytes occupied,
703
703
which includes both saved text and other data.  */);
704
 
  undo_strong_limit = 30000;
 
704
  undo_strong_limit = 120000;
705
705
 
706
706
  DEFVAR_LISP ("undo-outer-limit", &Vundo_outer_limit,
707
707
              doc: /* Outer limit on size of undo information for one command.
718
718
`undo-outer-limit-function' with one argument, the size.
719
719
The text above describes the behavior of the function
720
720
that variable usually specifies.  */);
721
 
  Vundo_outer_limit = make_number (3000000);
 
721
  Vundo_outer_limit = make_number (12000000);
722
722
 
723
723
  DEFVAR_LISP ("undo-outer-limit-function", &Vundo_outer_limit_function,
724
724
               doc: /* Function to call when an undo list exceeds `undo-outer-limit'.