aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2020-04-05 07:50:15 -0700
committerGlenn Morris2020-04-05 07:50:15 -0700
commit333f63d53706de9d1a1dbc04ed62f9dc0e9698db (patch)
tree8384df145897e7845c3ef738d9b27ff35c63fbf3 /src
parent0e18fdd1b6e86b8b9704e3a73204f94682ee9450 (diff)
parent6de20c7eab0dd8360e78d744dbf62aecc7f78281 (diff)
downloademacs-333f63d53706de9d1a1dbc04ed62f9dc0e9698db.tar.gz
emacs-333f63d53706de9d1a1dbc04ed62f9dc0e9698db.zip
Merge from origin/emacs-27
6de20c7eab (origin/emacs-27) Fix syntax error in man page. f8607d3c03 Handle filling of indented ChangeLog function entries 7e78f0d1b2 Fix void-variable n-reb in re-builder (Bug#40409) 452d776a5d Fix small bug in copy_string_contents. fa823653ff Fix invocations of gpg from Gnus d4f51d0a2e Don't draw GTK's internal border and tab bar on top of eac... 38731d504e ; * src/buffer.c (syms_of_buffer) <inhibit-read-only>: Doc... 44ac9e48bb Tweak htmlfontify's generated output
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c8
-rw-r--r--src/emacs-module.c2
-rw-r--r--src/xterm.c4
3 files changed, 5 insertions, 9 deletions
diff --git a/src/buffer.c b/src/buffer.c
index d8842a6d770..f3532a86189 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -6236,10 +6236,10 @@ Lisp programs may give this variable certain special values:
6236 6236
6237 DEFVAR_LISP ("inhibit-read-only", Vinhibit_read_only, 6237 DEFVAR_LISP ("inhibit-read-only", Vinhibit_read_only,
6238 doc: /* Non-nil means disregard read-only status of buffers or characters. 6238 doc: /* Non-nil means disregard read-only status of buffers or characters.
6239If the value is t, disregard `buffer-read-only' and all `read-only' 6239A non-nil value that is a list means disregard `buffer-read-only' status,
6240text properties. If the value is a list, disregard `buffer-read-only' 6240and disregard a `read-only' text property if the property value is a
6241and disregard a `read-only' text property if the property value 6241member of the list. Any other non-nil value means disregard `buffer-read-only'
6242is a member of the list. */); 6242and all `read-only' text properties. */);
6243 Vinhibit_read_only = Qnil; 6243 Vinhibit_read_only = Qnil;
6244 6244
6245 DEFVAR_PER_BUFFER ("cursor-type", &BVAR (current_buffer, cursor_type), Qnil, 6245 DEFVAR_PER_BUFFER ("cursor-type", &BVAR (current_buffer, cursor_type), Qnil,
diff --git a/src/emacs-module.c b/src/emacs-module.c
index cdcbe061b53..e43e4907d2e 100644
--- a/src/emacs-module.c
+++ b/src/emacs-module.c
@@ -683,7 +683,7 @@ module_copy_string_contents (emacs_env *env, emacs_value value, char *buf,
683 683
684 /* Since we set HANDLE-8-BIT and HANDLE-OVER-UNI to nil, the return 684 /* Since we set HANDLE-8-BIT and HANDLE-OVER-UNI to nil, the return
685 value can be nil, and we have to check for that. */ 685 value can be nil, and we have to check for that. */
686 CHECK_TYPE (!NILP (lisp_str_utf8), Qunicode_string_p, lisp_str_utf8); 686 CHECK_TYPE (!NILP (lisp_str_utf8), Qunicode_string_p, lisp_str);
687 687
688 ptrdiff_t raw_size = SBYTES (lisp_str_utf8); 688 ptrdiff_t raw_size = SBYTES (lisp_str_utf8);
689 ptrdiff_t required_buf_size = raw_size + 1; 689 ptrdiff_t required_buf_size = raw_size + 1;
diff --git a/src/xterm.c b/src/xterm.c
index fc68c77048f..bd9688fda81 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -1291,11 +1291,7 @@ x_clear_under_internal_border (struct frame *f)
1291 int border = FRAME_INTERNAL_BORDER_WIDTH (f); 1291 int border = FRAME_INTERNAL_BORDER_WIDTH (f);
1292 int width = FRAME_PIXEL_WIDTH (f); 1292 int width = FRAME_PIXEL_WIDTH (f);
1293 int height = FRAME_PIXEL_HEIGHT (f); 1293 int height = FRAME_PIXEL_HEIGHT (f);
1294#ifdef USE_GTK
1295 int margin = 0;
1296#else
1297 int margin = FRAME_TOP_MARGIN_HEIGHT (f); 1294 int margin = FRAME_TOP_MARGIN_HEIGHT (f);
1298#endif
1299 int face_id = 1295 int face_id =
1300 !NILP (Vface_remapping_alist) 1296 !NILP (Vface_remapping_alist)
1301 ? lookup_basic_face (NULL, f, INTERNAL_BORDER_FACE_ID) 1297 ? lookup_basic_face (NULL, f, INTERNAL_BORDER_FACE_ID)