]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix typos
authorStefan Kangas <stefan@marxist.se>
Sun, 15 May 2022 09:15:06 +0000 (11:15 +0200)
committerStefan Kangas <stefan@marxist.se>
Sun, 15 May 2022 09:15:06 +0000 (11:15 +0200)
25 files changed:
config.bat
lisp/emacs-lisp/shortdoc.el
lisp/eshell/esh-opt.el
lisp/image/image-converter.el
lisp/international/mule.el
lisp/net/eww.el
lisp/progmodes/cc-engine.el
lisp/progmodes/erts-mode.el
lisp/progmodes/sql.el
lisp/replace.el
lisp/x-dnd.el
lisp/xwidget.el
src/haiku_support.cc
src/haikuterm.c
src/image.c
src/lread.c
src/pgtkfns.c
src/pgtkterm.c
src/pgtkterm.h
src/sort.c
src/w32term.c
src/xterm.c
test/lisp/ansi-color-tests.el
test/lisp/files-tests.el
test/lisp/net/tramp-tests.el

index 758e4621386d69824820524554cc3d51b7007f9f..e9a180c8eedae3316983d77c83cc01aebdda1040 100644 (file)
@@ -310,7 +310,7 @@ rm -f makefile.tmp
 sed -f ../msdos/sedlibcf.inp < gnulib.mk-in > gnulib.tmp\r
 sed -f ../msdos/sedlibmk.inp < gnulib.tmp > gnulib.mk\r
 rm -f gnulib.tmp\r
-Rem Create directorys in lib/ that MKDIR_P is supposed to create\r
+Rem Create directories in lib/ that MKDIR_P is supposed to create\r
 Rem but I have no idea how to do that on MS-DOS.\r
 mkdir sys\r
 Rem Create .d files for new files in lib/ and lib/malloc/\r
index 340fe766c1e36ca534495154a51cc2be5cbdd0db..4c8ca967f1274b2ba95ff7941c736be3a981dd33 100644 (file)
@@ -83,7 +83,7 @@ together:
 If EVAL is a string, it will be inserted as is, and then that
 string will be `read' and evaluated.
 
-2. Document a form or string, but manually document its evalation
+2. Document a form or string, but manually document its evaluation
    result.  The provided form will not be evaluated.
 
   (FUNC
index 0961e214f4f220727f417a1e101ac366c0a56726..f52b70fe7a6974d2cdb9a4ccd0952cc2b06ee348 100644 (file)
@@ -205,7 +205,7 @@ a long option."
 VALUE is the potential value of the OPT, coming from args like
 \"-fVALUE\" or \"--foo=VALUE\", or nil if no value was supplied.  If
 OPT doesn't consume a value, return VALUE unchanged so that it can be
-processed later; otherwsie, return nil.
+processed later; otherwise, return nil.
 
 If the OPT consumes an argument for its value and VALUE is nil, the
 argument list will be modified."
index 7914d28c293cbe7ec84e2337e625efa55babb052..9440c623f90f42303178fab4de882964c9e87e93 100644 (file)
@@ -49,7 +49,7 @@ formats that are to be supported: Only the suffixes that map to
 (defcustom image-convert-to-format "png"
   "The image format to convert to.
 This should be a string like \"png\" or \"ppm\" or some
-other (preferrably lossless) format that Emacs understands
+other (preferably lossless) format that Emacs understands
 natively.  The converter chosen has to support the format, and if
 not, conversion will fail."
   :group 'image
index 1596cdb48172f2bc1d22cd976118cb01f5c7760e..ab74c2cffd96167be179ae7f293de2f8c0206665 100644 (file)
@@ -310,7 +310,7 @@ Print messages at start and end of loading unless optional fourth
 arg NOMESSAGE is non-nil.
 
 If EVAL-FUNCTION, call that instead of calling `eval-buffer'
-directly.  It is called with two paramameters: The buffer object
+directly.  It is called with two parameters: The buffer object
 and the file name.
 
 Return t if file exists."
index 57cb566c95df5a91de444e6dffc58d5834ecacff..21f6e33b0d2b432a85da790cec9693c588ca738e 100644 (file)
@@ -1855,7 +1855,7 @@ The browser to used is specified by the
   (replace-regexp-in-string ".utm_.*" "" url))
 
 (defun eww--transform-url (url)
-  "Appy `eww-url-transformers'."
+  "Apply `eww-url-transformers'."
   (when url
     (dolist (func eww-url-transformers)
       (setq url (funcall func url)))
index ae68bf989a74f290c4d540567865c1c3ba283317..2a9a7a8bf5e10dee9b7b4e01ac98dd1b19de54a0 100644 (file)
@@ -6848,7 +6848,7 @@ comment at the start of cc-engine.el for more info."
   ;; checking `c-new-id-start' and `c-new-id-end'.  That's done to avoid
   ;; adding all prefixes of a type as it's being entered and font locked.
   ;; This is a bit rough and ready, but now covers adding characters into the
-  ;; middle of an identifer.
+  ;; middle of an identifier.
   ;;
   ;; This function might do hidden buffer changes.
   (if (and c-new-id-start c-new-id-end
index 31a8bded8ad16fe91addf33bcdcf31c879221a20..1b88540ff38af6fec8fde6805c5a06a53c7d02ea 100644 (file)
      :foreground "blue")
     (t
      :bold t))
-  "Face used for displaying specificaton values."
+  "Face used for displaying specification values."
   :group 'erts-mode)
 
 (defface erts-mode-start-test
   '((t :inherit font-lock-keyword-face))
-  "Face used for displaying specificaton test start markers."
+  "Face used for displaying specification test start markers."
   :group 'erts-mode)
 
 (defface erts-mode-end-test
   '((t :inherit font-lock-comment-face))
-  "Face used for displaying specificaton test start markers."
+  "Face used for displaying specification test start markers."
   :group 'erts-mode)
 
 (defvar erts-mode-map
index 979b743a65dab3d594b0777d54fceee6eace4699..7bb4fef0c09e258e9781926927e7faacb0b993c2 100644 (file)
@@ -4179,7 +4179,7 @@ must tell Emacs.  Here's how to do that in your init file:
                      ;; start a comment.
                     (string-to-syntax ".")
                    ;; Inside a comment, ignore it to avoid -*/ not
-                   ;; being intepreted as a comment end.
+                   ;; being interpreted as a comment end.
                    (forward-char -1)
                    nil)))))
   ;; Set syntax and font-face highlighting
index 81282deb1402fb551ba7e8a64d62dbdfcf41c313..3d0877a9a6493226c58deb481d44845605efa646 100644 (file)
@@ -2684,7 +2684,7 @@ It is called with three arguments, as if it were
   "Function to convert the FROM string of query-replace commands to a regexp.
 This is used by `query-replace', `query-replace-regexp', etc. as
 the value of `isearch-regexp-function' when they search for the
-occurences of the string/regexp to be replaced.  This is intended
+occurrences of the string/regexp to be replaced.  This is intended
 to be used when the string to be replaced, as typed by the user,
 is not to be interpreted literally, but instead should be converted
 to a regexp that is actually used for the search.")
index 13a73aa7fb3c9f80e49013a34c8069c09fb80079..f3abb9d5e6d7fc7a01ffd349c63a965cd02ae676 100644 (file)
@@ -784,7 +784,7 @@ FORMAT is 32 (not used).  MESSAGE is the data part of an XClientMessageEvent."
 ;;; Handling drops.
 
 (defun x-dnd-handle-unsupported-drop (targets _x _y action _window-id _frame _time)
-  "Return non-nil if the drop described by TARGETS and ACTION should not proceeed."
+  "Return non-nil if the drop described by TARGETS and ACTION should not proceed."
   (not (and (or (eq action 'XdndActionCopy)
                 (eq action 'XdndActionMove))
             (or (member "STRING" targets)
index 62da16d486a5dfff7dbd5dfd670ef2c5d1809d90..88bc8ff6c5e4873b8936e1d4ce31af5a4937d7c2 100644 (file)
@@ -451,7 +451,7 @@ XWIDGET instance, XWIDGET-EVENT-TYPE depends on the originating xwidget."
                          xwidget-webkit--progress-update-timer
                          (run-at-time 0.5 0.5 #'xwidget-webkit--update-progress-timer-function
                                       xwidget)))))
-             ;; This funciton will be called multi times, so only
+             ;; This function will be called multi times, so only
              ;; change buffer name when the load actually completes
              ;; this can limit buffer-name flicker in mode-line.
              (when (or (string-equal (nth 3 last-input-event)
index ac2f4f39ea0bbee32aa23445878f7a9d2cd11f4a..2143f14dc97035e94521a1fd043dd12cc7765a03 100644 (file)
@@ -143,7 +143,7 @@ struct font_selection_dialog_message
   /* Whether or not font selection was cancelled.  */
   bool_bf cancel : 1;
 
-  /* Whether or not a size was explictly specified.  */
+  /* Whether or not a size was explicitly specified.  */
   bool_bf size_specified : 1;
 
   /* The index of the selected font family.  */
index 57f5b052f6de7b4c6b6eaabb60baff49e43b3b0e..df0cd82a39e3e59b197154ea46bd5457ef6cccb2 100644 (file)
@@ -3036,7 +3036,7 @@ haiku_flush_dirty_back_buffer_on (struct frame *f)
     haiku_flip_buffers (f);
 }
 
-/* N.B. that support for TYPE must be explictly added to
+/* N.B. that support for TYPE must be explicitly added to
    haiku_read_socket.  */
 void
 haiku_wait_for_event (struct frame *f, int type)
index dfa53279927a99ff8d84f03e3651ead882e5d3bf..18e9e72d83ce3fb3131a70dd040c97706defa658 100644 (file)
@@ -9108,7 +9108,7 @@ gif_load (struct frame *f, struct image *img)
       goto gif_error;
     }
 
-  /* It's an animated image, so initalize the cache.  */
+  /* It's an animated image, so initialize the cache.  */
   if (cache && !cache->handle)
     {
       cache->handle = gif;
index 2538851bac67c16812d195247a1e75b9fabac9dc..409e97cdfa6722391ee48e27b0e14c01d2e7eebd 100644 (file)
@@ -3497,7 +3497,7 @@ read1 (Lisp_Object readcharfun, int *pch, bool first_in_list, bool locate_syms)
 
                          /* Optimisation: since the placeholder is already
                             a cons, repurpose it as the actual value.
-                            This allows us to skip the substition below,
+                            This allows us to skip the substitution below,
                             since the placeholder is already referenced
                             inside TEM at the appropriate places.  */
                           Fsetcar (placeholder, XCAR (tem));
index a0fcf70f31bb0a557c6e306a412e0ece738bf101..1feb3fe250d2a849c8369f4f94f89f128c207112 100644 (file)
@@ -848,7 +848,7 @@ pgtk_set_scroll_bar_background (struct frame *f, Lisp_Object new_value,
        error ("Unknown color.");
 
       /* On pgtk, this frame parameter should be ignored, and honor
-        gtk theme.  (It honors the GTK theme if not explictly set, so
+        gtk theme.  (It honors the GTK theme if not explicitly set, so
         I see no harm in letting users tinker a bit more.)  */
       char css[64];
       sprintf (css, "scrollbar trough { background-color: #%06x; }",
@@ -2853,7 +2853,7 @@ x_create_tip_frame (struct pgtk_display_info *dpyinfo, Lisp_Object parms, struct
      Frame parameters may be changed if .Xdefaults contains
      specifications for the default font.  For example, if there is an
      `Emacs.default.attributeBackground: pink', the `background-color'
-     attribute of the frame get's set, which let's the internal border
+     attribute of the frame gets set, which lets the internal border
      of the tooltip frame appear in pink.  Prevent this.  */
   {
     Lisp_Object bg = Fframe_parameter (frame, Qbackground_color);
index 11ab40a0d390fe983923a8e10a084f5f7c3a553c..b9d0b7b512e36d3be689607745a193c3a93b65c3 100644 (file)
@@ -2551,7 +2551,7 @@ pgtk_draw_glyph_string (struct glyph_string *s)
                    }
 
                  /* Ignore minimum_offset if the amount of pixels was
-                    explictly specified.  */
+                    explicitly specified.  */
                  if (!s->face->underline_pixels_above_descent_line)
                    position = max (position, underline_minimum_offset);
                }
index 20c161e63b93ff1a04010af36ba115e07f43dab3..e31e62ae193953e07f0dd40a2d5d68d7ec641f43 100644 (file)
@@ -96,7 +96,7 @@ struct scroll_bar
      editing large files, we establish a minimum height by always
      drawing handle bottoms VERTICAL_SCROLL_BAR_MIN_HANDLE pixels below
      where they would be normally; the bottom and top are in a
-     different co-ordinate system.  */
+     different coordinate system.  */
   int start, end;
 
   /* If the scroll bar handle is currently being dragged by the user,
index c7ccfc230554ddf34a5dbce649e1310879246ba2..d10ae692d334a5944070ea984fd98b6276065d8a 100644 (file)
@@ -783,7 +783,7 @@ merge_at (merge_state *ms, const ptrdiff_t i)
 }
 
 
-/* Compute the "power" of the first of two adjacent runs begining at
+/* Compute the "power" of the first of two adjacent runs beginning at
    index S1, with the first having length N1 and the second (starting
    at index S1+N1) having length N2.  The run has total length N.  */
 
index 19786da3a6dc2e4fe313da612c22dac4994bb8fc..da7ac3797237c4c5bf982a3040dea6bbeaac7359 100644 (file)
@@ -2720,7 +2720,7 @@ w32_draw_glyph_string (struct glyph_string *s)
 
                  if (!(s->face->underline_at_descent_line_p
                        /* Ignore minimum_offset if the amount of pixels
-                          was explictly specified.  */
+                          was explicitly specified.  */
                        && s->face->underline_pixels_above_descent_line))
                    position = max (position, minimum_offset);
                 }
index bb92e1bbe66fa11758a3ef1fb2d0849bde56a684..21c31271ca516cdafdb606fc3b1c6cf22ac7775a 100644 (file)
@@ -78,7 +78,7 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
    INPUT FOCUS
 
    Under X, the window where keyboard input is sent is not always
-   explictly defined.  When there is a focus window, it receives what
+   explicitly defined.  When there is a focus window, it receives what
    is referred to as "explicit focus", but when there is none, it
    receives "implicit focus" whenever the pointer enters it, and loses
    that focus when the pointer leaves.  When the toplevel window of a
@@ -2515,7 +2515,7 @@ x_dnd_compute_toplevels (struct x_display_info *dpyinfo)
            }
 
          /* And the common case where there is no input rect and the
-            bouding rect equals the window dimensions.  */
+            bounding rect equals the window dimensions.  */
 
          if (tem->n_input_rects == -1
              && tem->n_bounding_rects == 1
@@ -8781,7 +8781,7 @@ x_draw_glyph_string (struct glyph_string *s)
                     }
 
                  /* Ignore minimum_offset if the amount of pixels was
-                    explictly specified.  */
+                    explicitly specified.  */
                  if (!s->face->underline_pixels_above_descent_line)
                    position = max (position, minimum_offset);
                 }
@@ -19973,7 +19973,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
                    }
 
                  /* And the common case where there is no input rect and the
-                    bouding rect equals the window dimensions.  */
+                    bounding rect equals the window dimensions.  */
 
                  if (tem->n_input_rects == -1
                      && tem->n_bounding_rects == 1
index 2ff7fc6aaf65a95640e41a433b22d5c8c4e6a7d3..1b04e8e9def8a6817293a24aafcac8d55af4bad8 100644 (file)
@@ -173,7 +173,7 @@ strings with `eq', this function compares them with `equal'."
       (should (ansi-color-tests-equal-props
                propertized-str (buffer-string))))
 
-    ;; \e not followed by '[' and invalid ANSI escape seqences
+    ;; \e not followed by '[' and invalid ANSI escape sequences
     (dolist (fun (list ansi-filt ansi-app))
       (with-temp-buffer
         (should (equal (funcall fun "\e") ""))
index 7d17fbde67294512e487ce067cd05e80e2e6594b..978f96912fb7fb24c726bd0cf3080ad3908c9040 100644 (file)
@@ -1691,7 +1691,7 @@ FN-TEST is the function to test: either `save-some-buffers' or
 specified inside ARGS-RESULTS.
 
 During the call to FN-TEST,`read-event' is overridden with a function that
-just returns `n' and `kill-emacs' is overriden to do nothing.
+just returns `n' and `kill-emacs' is overridden to do nothing.
 
 ARGS-RESULTS is a list of elements (FN-ARGS CALLERS-DIR EXPECTED), where
 FN-ARGS are the arguments for FN-TEST;
index fa5a614fbf421ca9487725d8d405afe0a4a92723..d9c5df17908be0333e06503fce3683e08a02a78c 100644 (file)
@@ -6461,7 +6461,7 @@ This requires restrictions of file name syntax."
 
 (defun tramp--test-asynchronous-processes-p ()
   "Whether asynchronous processes tests are run.
-This is used in tests which we dont't want to tag
+This is used in tests which we don't want to tag
 `:tramp-asynchronous-processes' completely."
   (and
    (ert-select-tests
@@ -6484,7 +6484,7 @@ This does not support some special file names."
 
 (defun tramp--test-expensive-test-p ()
   "Whether expensive tests are run.
-This is used in tests which we dont't want to tag `:expensive'
+This is used in tests which we don't want to tag `:expensive'
 completely."
   (ert-select-tests
    (ert--stats-selector ert--current-run-stats)