aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorKen Brown2018-01-12 08:51:16 -0500
committerKen Brown2018-01-13 13:16:47 -0500
commit5af5df1f7c20858dab762830e1a94994ceda425b (patch)
tree3252d74339e51877b1cc88c363ba41ee8f83bb9e /etc
parent7f52a102ad8234dbfe59a005034c7fc3e4fe538c (diff)
downloademacs-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 08dc1404265..1d546c4ec17 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.
235Previously it was supported only in the Cygwin-w32 build.
236
233 237
234---------------------------------------------------------------------- 238----------------------------------------------------------------------
235This file is part of GNU Emacs. 239This file is part of GNU Emacs.