Commit Graph

6 Commits

Author SHA1 Message Date
Pavel Roskin
d88b75838a * editlock.c, editlock.h: New files. Implement file locking in
Emacs style, as documented in JED editor sources.
* Makefile.am: Add those files to build tree.

* edit-widget.c (WEdit): New property 'locked', 0 on edit_init.
* edit.c (edit_modification): Lock buffer on modification.
* editcmd.c (edit_save_cmd, edit_save_as_cmd): Handle locking
during file save.
(edit_load_file_from_filename): Unlock.  Remove 2 duplicate
lines (handled by edit_init).
(edit_quit_cmd): Unlock.
2003-04-02 19:36:10 +00:00
Pavel Roskin
ab43e6db88 * edit_key_translator.c: Rename to ...
* editkeys.c: ... this.
* edit.c (edit_translate_key): Move to editkeys.c.
* Makefile.am: Adjust for the above.
2002-12-23 10:13:35 +00:00
Pavel Roskin
14c07c5677 * Makefile.am: Don't define "MIDNIGHT" - it's unused now. 2001-09-07 21:24:11 +00:00
Pavel Roskin
ebc45d895d * Makefile.am (AM_CFLAGS): Remove CFLAGS, don't use substituted
values directly.
2001-09-04 05:33:54 +00:00
Pavel Roskin
deb0875b95 * Makefile.am: Don't install libedit.a. 2001-08-26 16:43:54 +00:00
Pavel Roskin
280ac1e9d6 * Makefile.in: Converted to ...
* Makefile.am: ... this.
2001-08-26 08:41:34 +00:00