summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-07-14 11:55:52 +0200
committerStefan Kangas <stefan@marxist.se>2022-07-14 12:13:31 +0200
commit2a05479c221d4a13b15ed731e4eb1c0de99e97ed (patch)
tree2b28f1c72560050896e5461e068316fc59bbd4bd /src
parentddecd864cfeced3e8a01d1b58ef8dcffd177c0f8 (diff)
downloademacs-2a05479c221d4a13b15ed731e4eb1c0de99e97ed.tar.gz
; Fix typos: prefer American spelling
Diffstat (limited to 'src')
-rw-r--r--src/haiku_support.cc2
-rw-r--r--src/keyboard.c2
-rw-r--r--src/lread.c2
-rw-r--r--src/nsselect.m2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/haiku_support.cc b/src/haiku_support.cc
index a3d3b7a17d3..1f7f372a9b4 100644
--- a/src/haiku_support.cc
+++ b/src/haiku_support.cc
@@ -142,7 +142,7 @@ enum
struct font_selection_dialog_message
{
- /* Whether or not font selection was cancelled. */
+ /* Whether or not font selection was canceled. */
bool_bf cancel : 1;
/* Whether or not a size was explicitly specified. */
diff --git a/src/keyboard.c b/src/keyboard.c
index c729d5dfb3e..2863058d633 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -12982,7 +12982,7 @@ Emacs allows binding both upper and lower case key sequences to
commands. However, if there is a lower case key sequence bound to a
command, and the user enters an upper case key sequence that is not
bound to a command, Emacs will use the lower case binding. Setting
-this variable to nil inhibits this behaviour. */);
+this variable to nil inhibits this behavior. */);
translate_upper_case_key_bindings = true;
DEFVAR_BOOL ("input-pending-p-filter-events",
diff --git a/src/lread.c b/src/lread.c
index 759cc08946d..0b46a2e4ee5 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -4276,7 +4276,7 @@ read0 (Lisp_Object readcharfun, bool locate_syms)
/* Catch silly games like #1=#1# */
invalid_syntax ("nonsensical self-reference", readcharfun);
- /* Optimisation: since the placeholder is already
+ /* Optimization: since the placeholder is already
a cons, repurpose it as the actual value.
This allows us to skip the substitution below,
since the placeholder is already referenced
diff --git a/src/nsselect.m b/src/nsselect.m
index c46bfeaf42a..5b47d746122 100644
--- a/src/nsselect.m
+++ b/src/nsselect.m
@@ -724,7 +724,7 @@ Return the action that the drop target actually chose to perform, or
nil if no action was performed (either because there was no drop
target, or the drop was rejected). If RETURN-FRAME is the symbol
`now', also return any frame that mouse moves into during the
-drag-and-drop operation, whilst simultaneously cancelling it. Any
+drag-and-drop operation, whilst simultaneously canceling it. Any
other non-nil value means to do the same, but to wait for the mouse to
leave FRAME first.