diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 6 | ||||
| -rw-r--r-- | lib-src/make-docfile.c | 12 |
2 files changed, 18 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 969aac80124..e9205fdd12a 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2015-01-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Don't say Fnext_read_file_uses_dialog_p is const | ||
| 4 | * make-docfile.c (write_globals): | ||
| 5 | Add a special hack for Fnext_read_file_uses_dialog_p. | ||
| 6 | |||
| 1 | 2015-01-13 Dmitry Antipov <dmantipov@yandex.ru> | 7 | 2015-01-13 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 8 | ||
| 3 | Support DEFUN attributes. | 9 | Support DEFUN attributes. |
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index 79d421a0a8e..741fa4bfa42 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c | |||
| @@ -729,6 +729,18 @@ write_globals (void) | |||
| 729 | 729 | ||
| 730 | if (globals[i].flags & DEFUN_const) | 730 | if (globals[i].flags & DEFUN_const) |
| 731 | fputs (" ATTRIBUTE_CONST", stdout); | 731 | fputs (" ATTRIBUTE_CONST", stdout); |
| 732 | else if (strcmp (globals[i].name, "Fnext_read_file_uses_dialog_p") | ||
| 733 | == 0) | ||
| 734 | { | ||
| 735 | /* It would be nice to have a cleaner way to deal with this | ||
| 736 | special hack. */ | ||
| 737 | fputs (("\n" | ||
| 738 | "#if ! (defined USE_GTK || defined USE_MOTIF \\\n" | ||
| 739 | " || defined HAVE_NS || defined HAVE_NTGUI)\n" | ||
| 740 | "\tATTRIBUTE_CONST\n" | ||
| 741 | "#endif\n"), | ||
| 742 | stdout); | ||
| 743 | } | ||
| 732 | 744 | ||
| 733 | puts (";"); | 745 | puts (";"); |
| 734 | } | 746 | } |