diff options
| author | Paul Eggert | 2015-01-13 15:22:19 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-01-13 15:23:03 -0800 |
| commit | 785adfcc8dee02ac544f80e4f7f8d3d5b2965981 (patch) | |
| tree | 459b4653c384bd48ea961dbc5da46461a72d90fa /src/process.c | |
| parent | 564784766297a6f2e06434e2baa7a1d851672a36 (diff) | |
| download | emacs-785adfcc8dee02ac544f80e4f7f8d3d5b2965981.tar.gz emacs-785adfcc8dee02ac544f80e4f7f8d3d5b2965981.zip | |
Don't say Fnext_read_file_uses_dialog_p is const
It's const only if a windowing system is not used; don't say it's
const otherwise. See:
http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00310.html
* lib-src/make-docfile.c (write_globals):
Add a special hack for Fnext_read_file_uses_dialog_p.
* src/fileio.c (next_read_file_uses_dialog_p): Remove.
Move guts back to ...
(Fnext_read_file_uses_dialog_p): ... here.
Don't declare as const, as make-docfile.c now has a special case
for this function. This is an ugly hack, but it's better than
lying to the compiler.
Diffstat (limited to 'src/process.c')
0 files changed, 0 insertions, 0 deletions