aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2020-10-27 08:24:56 -0700
committerGlenn Morris2020-10-27 08:24:56 -0700
commit0dfb896be2d84e069831faf3499fe6add629af62 (patch)
treef1a660bb7e0bb41a45c57484863663427750482b /src
parentdcd1095bc40f87d9ff6d8c7206221412970a3d95 (diff)
parente0de9f3295b4c46cb7198ec0b9634809d7b7a36d (diff)
downloademacs-0dfb896be2d84e069831faf3499fe6add629af62.tar.gz
emacs-0dfb896be2d84e069831faf3499fe6add629af62.zip
Merge from origin/emacs-27
e0de9f3295 (origin/emacs-27) Don't skip empty lines when fitting mini... a4ec03fa9b ; * etc/tutorials/TUTORIAL.de: Fix grammar (Bug#44246) 20c02e628c Improve documentation of display-fill-column-indicator e2005f1f2a * INSTALL: Mention efaq.texi for installation of intlfonts. 71661b2872 Use WebKit sandboxing # Conflicts: # etc/NEWS
Diffstat (limited to 'src')
-rw-r--r--src/frame.c2
-rw-r--r--src/xdisp.c6
-rw-r--r--src/xwidget.c9
3 files changed, 13 insertions, 4 deletions
diff --git a/src/frame.c b/src/frame.c
index 5d967a59ce3..7c377da4456 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -6188,7 +6188,7 @@ window of that frame is the buffer whose text will be eventually shown
6188in the minibuffer window. 6188in the minibuffer window.
6189 6189
6190Any other non-nil value means to resize minibuffer-only frames by 6190Any other non-nil value means to resize minibuffer-only frames by
6191calling `fit-frame-to-buffer'. */); 6191calling `fit-mini-frame-to-buffer'. */);
6192 resize_mini_frames = Qnil; 6192 resize_mini_frames = Qnil;
6193 6193
6194 DEFVAR_LISP ("focus-follows-mouse", focus_follows_mouse, 6194 DEFVAR_LISP ("focus-follows-mouse", focus_follows_mouse,
diff --git a/src/xdisp.c b/src/xdisp.c
index c6579785a49..5c80e375810 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -35267,6 +35267,8 @@ It has no effect when set to 0, or when line numbers are not absolute. */);
35267 35267
35268 DEFVAR_BOOL ("display-fill-column-indicator", display_fill_column_indicator, 35268 DEFVAR_BOOL ("display-fill-column-indicator", display_fill_column_indicator,
35269 doc: /* Non-nil means display the fill column indicator. 35269 doc: /* Non-nil means display the fill column indicator.
35270If you set this non-nil, make sure `display-fill-column-indicator-character'
35271is also non-nil.
35270See Info node `Displaying Boundaries' for details. */); 35272See Info node `Displaying Boundaries' for details. */);
35271 display_fill_column_indicator = false; 35273 display_fill_column_indicator = false;
35272 DEFSYM (Qdisplay_fill_column_indicator, "display-fill-column-indicator"); 35274 DEFSYM (Qdisplay_fill_column_indicator, "display-fill-column-indicator");
@@ -35284,8 +35286,8 @@ See Info node `Displaying Boundaries' for details. */);
35284 35286
35285 DEFVAR_LISP ("display-fill-column-indicator-character", Vdisplay_fill_column_indicator_character, 35287 DEFVAR_LISP ("display-fill-column-indicator-character", Vdisplay_fill_column_indicator_character,
35286 doc: /* Character to draw the indicator when `display-fill-column-indicator' is non-nil. 35288 doc: /* Character to draw the indicator when `display-fill-column-indicator' is non-nil.
35287The default is U+2502 but a good alternative is (ascii 124) 35289A good candidate is U+2502, and an alternative is (ascii 124) if the
35288if the font in fill-column-indicator face does not support Unicode characters. 35290font of `fill-column-indicator' face does not support Unicode characters.
35289See Info node `Displaying Boundaries' for details. */); 35291See Info node `Displaying Boundaries' for details. */);
35290 Vdisplay_fill_column_indicator_character = Qnil; 35292 Vdisplay_fill_column_indicator_character = Qnil;
35291 DEFSYM (Qdisplay_fill_column_indicator_character, "display-fill-column-indicator-character"); 35293 DEFSYM (Qdisplay_fill_column_indicator_character, "display-fill-column-indicator-character");
diff --git a/src/xwidget.c b/src/xwidget.c
index e63191ebda9..031975fafb9 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -114,6 +114,13 @@ Returns the newly constructed xwidget, or nil if construction fails. */)
114 if (EQ (xw->type, Qwebkit)) 114 if (EQ (xw->type, Qwebkit))
115 { 115 {
116 block_input (); 116 block_input ();
117 WebKitWebContext *webkit_context = webkit_web_context_get_default ();
118
119# if WEBKIT_CHECK_VERSION (2, 26, 0)
120 if (!webkit_web_context_get_sandbox_enabled (webkit_context))
121 webkit_web_context_set_sandbox_enabled (webkit_context, TRUE);
122# endif
123
117 xw->widgetwindow_osr = gtk_offscreen_window_new (); 124 xw->widgetwindow_osr = gtk_offscreen_window_new ();
118 gtk_window_resize (GTK_WINDOW (xw->widgetwindow_osr), xw->width, 125 gtk_window_resize (GTK_WINDOW (xw->widgetwindow_osr), xw->width,
119 xw->height); 126 xw->height);
@@ -152,7 +159,7 @@ Returns the newly constructed xwidget, or nil if construction fails. */)
152 "load-changed", 159 "load-changed",
153 G_CALLBACK (webkit_view_load_changed_cb), xw); 160 G_CALLBACK (webkit_view_load_changed_cb), xw);
154 161
155 g_signal_connect (G_OBJECT (webkit_web_context_get_default ()), 162 g_signal_connect (G_OBJECT (webkit_context),
156 "download-started", 163 "download-started",
157 G_CALLBACK (webkit_download_cb), xw); 164 G_CALLBACK (webkit_download_cb), xw);
158 165