diff options
| author | Ken Brown | 2018-01-12 08:51:16 -0500 |
|---|---|---|
| committer | Ken Brown | 2018-01-13 13:16:47 -0500 |
| commit | 5af5df1f7c20858dab762830e1a94994ceda425b (patch) | |
| tree | 3252d74339e51877b1cc88c363ba41ee8f83bb9e /etc | |
| parent | 7f52a102ad8234dbfe59a005034c7fc3e4fe538c (diff) | |
| download | emacs-5af5df1f7c20858dab762830e1a94994ceda425b.tar.gz emacs-5af5df1f7c20858dab762830e1a94994ceda425b.zip | |
Add battery support to all Cygwin builds
It already exists in the Cygwin-w32 build.
* src/w32fns.c (Fw32_battery_status): Move to...
* src/w32cygwinx: New file, to be used for functions common to
the MS Windows and Cygwin builds.
(syms_of_w32cygwinx): New function.
* src/lisp.h: Add prototype of syms_of_w32cygwinx.
* src/emacs.c (main) [HAVE_NTGUI or CYGWIN]: Call syms_of_w32cygwinx.
* src/Makefile.in (SOME_MACHINE_OBJECTS):
* configure.ac (W32_OBJ) [HAVE_W32]: Add w32cygwinx.o.
(W32_LIBS) [CYGWIN]: Set equal to "-lkernel32" in non-w32 build.
(W32_OBJ) [CYGWIN]: Set equal to "w32cygwinx.o" in non-w32 build.
* etc/NEWS: Document the new battery support.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -230,6 +230,10 @@ file name extensions. | |||
| 230 | 230 | ||
| 231 | * Changes in Emacs 27.1 on Non-Free Operating Systems | 231 | * Changes in Emacs 27.1 on Non-Free Operating Systems |
| 232 | 232 | ||
| 233 | --- | ||
| 234 | ** Battery status is now supported in all Cygwin builds. | ||
| 235 | Previously it was supported only in the Cygwin-w32 build. | ||
| 236 | |||
| 233 | 237 | ||
| 234 | ---------------------------------------------------------------------- | 238 | ---------------------------------------------------------------------- |
| 235 | This file is part of GNU Emacs. | 239 | This file is part of GNU Emacs. |