aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2016-06-19 00:53:51 +0200
committerPaul Eggert2016-06-19 00:53:51 +0200
commitd9088290efb49a352c3c23da25a734ed3e269923 (patch)
treee9c09623885e31c90756c0c74373b2e7886674e7 /src
parent8085d5fcc4240a39458ead26ae2279590bb9f629 (diff)
parent2317c61868044dc1fea58d9e81f35d354f24fd69 (diff)
downloademacs-d9088290efb49a352c3c23da25a734ed3e269923.tar.gz
emacs-d9088290efb49a352c3c23da25a734ed3e269923.zip
Merge from origin/emacs-25
2317c61 Fix last todo-mode change 5d4d8a3 Improve last todo-mode fix d7084f2 Fix todo-mode use of minibuffer completion keymap (bug#23695). 27dec52 * src/alloc.c (ALIGN): Avoid error on DragonFly BSD. (Bug#23... f526191 * lisp/emacs-lisp/nadvice.el (advice--make-docstring): Avoid ... e881070 * lisp/help-fns.el (describe-function-1): Avoid reporting adv... d308aa1 Minor grammar fix (bug#23746) 20de667 Doc fixes for grammar and typos (bug#23746) a67a4e5 * doc/lispref/processes.texi (Process Buffers): Minor rewordi... 27f440e Add cross-reference to ELisp manual 10802d8 ; make change-history-commit 4b2d77d * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bu... 12e009e Restore initial undo boundary with viper 291fe0a Revert "Fix viper undo breakage from undo-boundary changes" 6921f4a Fix dbus crash on 32-bit Cygwin
Diffstat (limited to 'src')
-rw-r--r--src/alloc.c5
-rw-r--r--src/dbusbind.c4
-rw-r--r--src/floatfns.c4
-rw-r--r--src/xfaces.c4
4 files changed, 11 insertions, 6 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 3feed51b1e9..8173615992f 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -486,6 +486,11 @@ static void *pure_alloc (size_t, int);
486 ? ((x) + (y) - 1) - ((x) + (y) - 1) % (y) \ 486 ? ((x) + (y) - 1) - ((x) + (y) - 1) % (y) \
487 : ((x) + (y) - 1) & ~ ((y) - 1)) 487 : ((x) + (y) - 1) & ~ ((y) - 1))
488 488
489/* Bug#23764 */
490#ifdef ALIGN
491# undef ALIGN
492#endif
493
489/* Return PTR rounded up to the next multiple of ALIGNMENT. */ 494/* Return PTR rounded up to the next multiple of ALIGNMENT. */
490 495
491static void * 496static void *
diff --git a/src/dbusbind.c b/src/dbusbind.c
index 618176dd452..7a94c81eeab 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -943,7 +943,7 @@ xd_get_connection_references (DBusConnection *connection)
943static DBusConnection* 943static DBusConnection*
944xd_lisp_dbus_to_dbus (Lisp_Object bus) 944xd_lisp_dbus_to_dbus (Lisp_Object bus)
945{ 945{
946 return (DBusConnection *) (intptr_t) XFASTINT (bus); 946 return (DBusConnection *) XSAVE_POINTER (bus, 0);
947} 947}
948 948
949/* Return D-Bus connection address. BUS is either a Lisp symbol, 949/* Return D-Bus connection address. BUS is either a Lisp symbol,
@@ -1186,7 +1186,7 @@ this connection to those buses. */)
1186 XD_SIGNAL1 (build_string ("Cannot add watch functions")); 1186 XD_SIGNAL1 (build_string ("Cannot add watch functions"));
1187 1187
1188 /* Add bus to list of registered buses. */ 1188 /* Add bus to list of registered buses. */
1189 XSETFASTINT (val, (intptr_t) connection); 1189 val = make_save_ptr (connection);
1190 xd_registered_buses = Fcons (Fcons (bus, val), xd_registered_buses); 1190 xd_registered_buses = Fcons (Fcons (bus, val), xd_registered_buses);
1191 1191
1192 /* Cleanup. */ 1192 /* Cleanup. */
diff --git a/src/floatfns.c b/src/floatfns.c
index c1bd25877e3..f514fcbea8c 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -185,8 +185,8 @@ If X is zero, both parts (SGNFCAND and EXP) are zero. */)
185} 185}
186 186
187DEFUN ("ldexp", Fldexp, Sldexp, 2, 2, 0, 187DEFUN ("ldexp", Fldexp, Sldexp, 2, 2, 0,
188 doc: /* Return X * 2**EXP, as a floating point number. 188 doc: /* Return SGNFCAND * 2**EXPONENT, as a floating point number.
189EXP must be an integer. */) 189EXPONENT must be an integer. */)
190 (Lisp_Object sgnfcand, Lisp_Object exponent) 190 (Lisp_Object sgnfcand, Lisp_Object exponent)
191{ 191{
192 CHECK_NUMBER (exponent); 192 CHECK_NUMBER (exponent);
diff --git a/src/xfaces.c b/src/xfaces.c
index de73c010d54..ea02ee7ccbe 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -6494,8 +6494,8 @@ REPLACEMENT is a face specification, i.e. one of the following:
6494 (3) a list in which each element has the form of (1) or (2). 6494 (3) a list in which each element has the form of (1) or (2).
6495 6495
6496List values for REPLACEMENT are merged to form the final face 6496List values for REPLACEMENT are merged to form the final face
6497specification, with earlier entries taking precedence, in the same as 6497specification, with earlier entries taking precedence, in the same way
6498as in the `face' text property. 6498as with the `face' text property.
6499 6499
6500Face-name remapping cycles are suppressed; recursive references use 6500Face-name remapping cycles are suppressed; recursive references use
6501the underlying face instead of the remapped face. So a remapping of 6501the underlying face instead of the remapped face. So a remapping of