diff options
| author | Glenn Morris | 2020-10-27 08:24:56 -0700 |
|---|---|---|
| committer | Glenn Morris | 2020-10-27 08:24:56 -0700 |
| commit | 0dfb896be2d84e069831faf3499fe6add629af62 (patch) | |
| tree | f1a660bb7e0bb41a45c57484863663427750482b /src | |
| parent | dcd1095bc40f87d9ff6d8c7206221412970a3d95 (diff) | |
| parent | e0de9f3295b4c46cb7198ec0b9634809d7b7a36d (diff) | |
| download | emacs-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.c | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 6 | ||||
| -rw-r--r-- | src/xwidget.c | 9 |
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 | |||
| 6188 | in the minibuffer window. | 6188 | in the minibuffer window. |
| 6189 | 6189 | ||
| 6190 | Any other non-nil value means to resize minibuffer-only frames by | 6190 | Any other non-nil value means to resize minibuffer-only frames by |
| 6191 | calling `fit-frame-to-buffer'. */); | 6191 | calling `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. |
| 35270 | If you set this non-nil, make sure `display-fill-column-indicator-character' | ||
| 35271 | is also non-nil. | ||
| 35270 | See Info node `Displaying Boundaries' for details. */); | 35272 | See 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. |
| 35287 | The default is U+2502 but a good alternative is (ascii 124) | 35289 | A good candidate is U+2502, and an alternative is (ascii 124) if the |
| 35288 | if the font in fill-column-indicator face does not support Unicode characters. | 35290 | font of `fill-column-indicator' face does not support Unicode characters. |
| 35289 | See Info node `Displaying Boundaries' for details. */); | 35291 | See 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 | ||