* edit-widget.h: Eliminate unused explicit_syntax field.
Этот коммит содержится в:
родитель
729a855b29
Коммит
59593d0e1b
@ -1,5 +1,7 @@
|
|||||||
2003-07-08 Pavel Roskin <proski@gnu.org>
|
2003-07-08 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* edit-widget.h: Eliminate unused explicit_syntax field.
|
||||||
|
|
||||||
* edit-widget.h: Stop misusing "unsigned char" for boolean.
|
* edit-widget.h: Stop misusing "unsigned char" for boolean.
|
||||||
Eliminate have_frame - it's unused. Adjust all dependencies.
|
Eliminate have_frame - it's unused. Adjust all dependencies.
|
||||||
|
|
||||||
|
@ -93,7 +93,6 @@ struct WEdit {
|
|||||||
long last_get_rule;
|
long last_get_rule;
|
||||||
struct syntax_rule rule;
|
struct syntax_rule rule;
|
||||||
char *syntax_type; /* description of syntax highlighting type being used */
|
char *syntax_type; /* description of syntax highlighting type being used */
|
||||||
int explicit_syntax; /* have we forced the syntax hi. type in spite of the filename? */
|
|
||||||
|
|
||||||
/* macro stuff */
|
/* macro stuff */
|
||||||
int macro_i; /* index to macro[], -1 if not recording a macro */
|
int macro_i; /* index to macro[], -1 if not recording a macro */
|
||||||
|
@ -487,7 +487,7 @@ edit_save_as_cmd (WEdit *edit)
|
|||||||
g_free (exp);
|
g_free (exp);
|
||||||
edit->modified = 0;
|
edit->modified = 0;
|
||||||
edit->delete_file = 0;
|
edit->delete_file = 0;
|
||||||
if (different_filename && !edit->explicit_syntax)
|
if (different_filename)
|
||||||
edit_load_syntax (edit, 0, 0);
|
edit_load_syntax (edit, 0, 0);
|
||||||
edit->force |= REDRAW_COMPLETELY;
|
edit->force |= REDRAW_COMPLETELY;
|
||||||
return 1;
|
return 1;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user