mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
d88b75838a
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.
15 lines
317 B
Makefile
15 lines
317 B
Makefile
AM_CFLAGS = $(GLIB_CFLAGS)
|
|
|
|
if USE_EDIT
|
|
noinst_LIBRARIES = libedit.a
|
|
else
|
|
noinst_LIBRARIES =
|
|
endif
|
|
|
|
libedit_a_SOURCES = \
|
|
bookmark.c edit.c editcmd.c editwidget.c editdraw.c editkeys.c \
|
|
editmenu.c editoptions.c editcmddef.h edit.h edit-widget.h \
|
|
editlock.c editlock.h syntax.c wordproc.c
|
|
|
|
EXTRA_DIST = ChangeLog
|