aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorPaul Eggert2017-11-13 10:54:20 -0800
committerPaul Eggert2017-11-13 10:54:20 -0800
commit99ceefa8ec4f9993663492cfcce6bb82a94569c1 (patch)
tree507f76715b3086f34672b7c984dc09befaa57fc6 /src/window.c
parenta7b7b85567f766ff510a5eaaaf32dbbbec15efd0 (diff)
parent79108894dbcd642121466bb6af6c98c6a56e9233 (diff)
downloademacs-99ceefa8ec4f9993663492cfcce6bb82a94569c1.tar.gz
emacs-99ceefa8ec4f9993663492cfcce6bb82a94569c1.zip
Merge from origin/emacs-26
79108894db Port to IBM xlc 12.01 d14956099d Simplify by removing HAVE_STRUCT_ATTRIBUTE_ALIGNED b1573a97e1 Use alignas to fix GCALIGN-related bugs 5d68dc9a2f Change vectorlike from struct to union 6aa0a26b46 Don't enable cursor-sensor-mode in mhtml-mode 2b8ef8dddf * lisp/files.el (abbreviate-file-name): Doc fix. (Bug#29267) fe85ce1e16 Unbreak interactive run of a flymake test (bug#29267) 48ad00390d Fix Bug#29225 42daf83f08 CC Mode: Fix defun-open being recognized as brace-list-ope... 7775c47298 Merge from Gnulib e470d16448 Pacify GCC when configured --with-x-toolkit=no 49450d0951 * lisp/find-dired.el (find-grep-dired): Doc fix. (Bug#29262) e286b3381f Fix more flymake-diag-region eob corner cases and add test... # Conflicts: # src/lisp.h
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window.c b/src/window.c
index cc1d2a7b36e..7f472523b49 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3733,8 +3733,8 @@ make_parent_window (Lisp_Object window, bool horflag)
3733 3733
3734 o = XWINDOW (window); 3734 o = XWINDOW (window);
3735 p = allocate_window (); 3735 p = allocate_window ();
3736 memcpy ((char *) p + sizeof (struct vectorlike_header), 3736 memcpy ((char *) p + sizeof (union vectorlike_header),
3737 (char *) o + sizeof (struct vectorlike_header), 3737 (char *) o + sizeof (union vectorlike_header),
3738 word_size * VECSIZE (struct window)); 3738 word_size * VECSIZE (struct window));
3739 /* P's buffer slot may change from nil to a buffer... */ 3739 /* P's buffer slot may change from nil to a buffer... */
3740 adjust_window_count (p, 1); 3740 adjust_window_count (p, 1);
@@ -6232,7 +6232,7 @@ from the top of the window. */)
6232 6232
6233struct save_window_data 6233struct save_window_data
6234 { 6234 {
6235 struct vectorlike_header header; 6235 union vectorlike_header header;
6236 Lisp_Object selected_frame; 6236 Lisp_Object selected_frame;
6237 Lisp_Object current_window; 6237 Lisp_Object current_window;
6238 Lisp_Object f_current_buffer; 6238 Lisp_Object f_current_buffer;
@@ -6260,7 +6260,7 @@ struct save_window_data
6260/* This is saved as a Lisp_Vector. */ 6260/* This is saved as a Lisp_Vector. */
6261struct saved_window 6261struct saved_window
6262{ 6262{
6263 struct vectorlike_header header; 6263 union vectorlike_header header;
6264 6264
6265 Lisp_Object window, buffer, start, pointm, old_pointm; 6265 Lisp_Object window, buffer, start, pointm, old_pointm;
6266 Lisp_Object pixel_left, pixel_top, pixel_height, pixel_width; 6266 Lisp_Object pixel_left, pixel_top, pixel_height, pixel_width;