aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Kangas2022-12-23 18:21:10 +0100
committerStefan Kangas2022-12-23 18:21:10 +0100
commita5d39e11443fa30c8e8bc58254a1a59550dcd99e (patch)
tree236b714d666b1dbe029452bf8889f61ee2afc375 /src
parent6cf0784a0d6d1fc58a200aa8f8e14cef612cd68b (diff)
downloademacs-a5d39e11443fa30c8e8bc58254a1a59550dcd99e.tar.gz
emacs-a5d39e11443fa30c8e8bc58254a1a59550dcd99e.zip
; Fix typos
Diffstat (limited to 'src')
-rw-r--r--src/dispextern.h4
-rw-r--r--src/haikufns.c2
-rw-r--r--src/itree.c2
-rw-r--r--src/xfaces.c2
-rw-r--r--src/xterm.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index df6134e68f0..e6c4270bebd 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -107,7 +107,7 @@ typedef struct
107{ 107{
108 int width, height; /* size of image */ 108 int width, height; /* size of image */
109 char *data; /* pointer to image data */ 109 char *data; /* pointer to image data */
110 int bytes_per_line; /* accelarator to next line */ 110 int bytes_per_line; /* accelerator to next line */
111 int bits_per_pixel; /* bits per pixel (ZPixmap) */ 111 int bits_per_pixel; /* bits per pixel (ZPixmap) */
112} *Emacs_Pix_Container; 112} *Emacs_Pix_Container;
113typedef Emacs_Pix_Container Emacs_Pixmap; 113typedef Emacs_Pix_Container Emacs_Pixmap;
@@ -1712,7 +1712,7 @@ struct face
1712 1712
1713 /* Non-zero means characters in this face have a box of that 1713 /* Non-zero means characters in this face have a box of that
1714 thickness around them. Vertical (left and right) and horizontal 1714 thickness around them. Vertical (left and right) and horizontal
1715 (top and bottom) borders size can be set separatedly using an 1715 (top and bottom) borders size can be set separately using an
1716 associated list of two ints in the form 1716 associated list of two ints in the form
1717 (vertical_size . horizontal_size). In case one of the value is 1717 (vertical_size . horizontal_size). In case one of the value is
1718 negative, its absolute value indicates the thickness, and the 1718 negative, its absolute value indicates the thickness, and the
diff --git a/src/haikufns.c b/src/haikufns.c
index 5717d0354f8..ea12a144888 100644
--- a/src/haikufns.c
+++ b/src/haikufns.c
@@ -3245,7 +3245,7 @@ syms_of_haikufns (void)
3245 3245
3246 DEFVAR_LISP ("haiku-allowed-ui-colors", Vhaiku_allowed_ui_colors, 3246 DEFVAR_LISP ("haiku-allowed-ui-colors", Vhaiku_allowed_ui_colors,
3247 doc: /* Vector of UI colors that Emacs can look up from the system. 3247 doc: /* Vector of UI colors that Emacs can look up from the system.
3248If this is set up incorrectly, Emacs can crash when encoutering an 3248If this is set up incorrectly, Emacs can crash when encountering an
3249invalid color. */); 3249invalid color. */);
3250 Vhaiku_allowed_ui_colors = Qnil; 3250 Vhaiku_allowed_ui_colors = Qnil;
3251 3251
diff --git a/src/itree.c b/src/itree.c
index 688d5c82476..5079e2389f8 100644
--- a/src/itree.c
+++ b/src/itree.c
@@ -85,7 +85,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
85 this narrowing is O(K*log(N)) where K is the size of the result 85 this narrowing is O(K*log(N)) where K is the size of the result
86 set. If we are interested in finding the node in a range with the 86 set. If we are interested in finding the node in a range with the
87 smallest END, we might have to examine all K nodes in that range. 87 smallest END, we might have to examine all K nodes in that range.
88 In the case of the *-overlay-channge functions, K may well be equal 88 In the case of the *-overlay-change functions, K may well be equal
89 to N. 89 to N.
90 90
91 Ideally, a tree based data structure for overlays would have 91 Ideally, a tree based data structure for overlays would have
diff --git a/src/xfaces.c b/src/xfaces.c
index be4a7ca71cc..663386dc25b 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -7280,7 +7280,7 @@ syms_of_xfaces (void)
7280 DEFVAR_BOOL ("face-filters-always-match", face_filters_always_match, 7280 DEFVAR_BOOL ("face-filters-always-match", face_filters_always_match,
7281 doc: /* Non-nil means that face filters are always deemed to match. 7281 doc: /* Non-nil means that face filters are always deemed to match.
7282This variable is intended for use only by code that evaluates 7282This variable is intended for use only by code that evaluates
7283the "specifity" of a face specification and should be let-bound 7283the "specificity" of a face specification and should be let-bound
7284only for this purpose. */); 7284only for this purpose. */);
7285 7285
7286 DEFVAR_LISP ("face--new-frame-defaults", Vface_new_frame_defaults, 7286 DEFVAR_LISP ("face--new-frame-defaults", Vface_new_frame_defaults,
diff --git a/src/xterm.c b/src/xterm.c
index c2bb1e2afe8..acb008475c7 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -4597,7 +4597,7 @@ x_dnd_send_position (struct frame *f, Window target, Window toplevel,
4597 maintained by the original author of the protocol specifies it 4597 maintained by the original author of the protocol specifies it
4598 for all versions. Since at least one program supports these 4598 for all versions. Since at least one program supports these
4599 flags, but uses protocol v4 (and not v5), set them for all 4599 flags, but uses protocol v4 (and not v5), set them for all
4600 protocool versions. */ 4600 protocol versions. */
4601 if (button >= 4 && button <= 7) 4601 if (button >= 4 && button <= 7)
4602 { 4602 {
4603 msg.xclient.data.l[1] |= (1 << 10); 4603 msg.xclient.data.l[1] |= (1 << 10);