1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich
7 * Copyright 1995-2000 The LyX Team.
9 * ====================================================== */
14 #pragma implementation
19 #ifdef ENABLE_ASSERTIONS
20 #include "bufferlist.h"
22 extern BufferList bufferlist;
24 void emergencySave() {
25 static bool didSafe = false;
32 if (!bufferlist.empty())
33 bufferlist.emergencyWriteAll();