]> code.delx.au - gnu-emacs/commitdiff
Spelling fixes.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Jan 2014 06:25:30 +0000 (22:25 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Jan 2014 06:25:30 +0000 (22:25 -0800)
* calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
* emacs-lisp/debug.el (cancel-debug-on-entry):
* epg.el (epg-error-to-string):
* files.el (recover-file):
* lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
* mail/emacsbug.el (report-emacs-bug-hook):
* mail/sendmail.el (mail-recover):
* ses.el (ses-yank-resize):
* term/ns-win.el (ns-print-buffer):
Spelling fixes in diagnostics, mostly for "canceled" with one L.
* epg.el (epg-key-capability-alist): Rename from misspelled version.
All uses changed.
* obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.

34 files changed:
doc/emacs/ChangeLog
doc/emacs/mini.texi
doc/misc/semantic.texi
doc/misc/srecode.texi
etc/NEWS
lisp/ChangeLog
lisp/calc/calc-yank.el
lisp/cedet/semantic/complete.el
lisp/cedet/semantic/edit.el
lisp/dired.el
lisp/emacs-lisp/debug.el
lisp/emacs-lisp/eieio-opt.el
lisp/epg.el
lisp/files.el
lisp/filesets.el
lisp/gnus/message.el
lisp/image-dired.el
lisp/international/characters.el
lisp/international/ucs-normalize.el
lisp/lpr.el
lisp/mail/emacsbug.el
lisp/mail/sendmail.el
lisp/net/newsticker.el
lisp/obsolete/xesam.el
lisp/org/org-clock.el
lisp/ses.el
lisp/term/ns-win.el
lisp/textmodes/table.el
lisp/whitespace.el
src/ChangeLog.12
src/ftfont.c
src/macfont.m
src/nsterm.m
src/xftfont.c

index 70002f1dd323849577e011ebac4630cd25bc4f26..2df3334c7a1880dac4e54fc65c0032af18981dfe 100644 (file)
        \\`info- no longer handled specially.
        Update for rmail-enable-mime-composing.
        Don't mention 'm' for replies.
-       Don't mention rmail-mail-new-frame and cancelling, since it does
+       Don't mention rmail-mail-new-frame and canceling, since it does
        not work for Message at the moment.
 
        * cal-xtra.texi: Copyedits.
index fa837484c443fcedbe3005fa3d06242ea54fa36d..6fc501a903efb3b03424908bd0ccf8960aa4d084 100644 (file)
@@ -37,7 +37,7 @@ how it will be used.  The prompt is highlighted using the
   The simplest way to enter a minibuffer argument is to type the text,
 then @key{RET} to submit the argument and exit the minibuffer.
 Alternatively, you can type @kbd{C-g} to exit the minibuffer by
-cancelling the command asking for the argument (@pxref{Quitting}).
+canceling the command asking for the argument (@pxref{Quitting}).
 
 @cindex default argument
   Sometimes, the prompt shows a @dfn{default argument}, inside
index 56add3b565b0ba99c25da42508b09e5ea3d34aea..17d1aa7a5ac7dd158f94c82433137b06635949a8 100644 (file)
@@ -607,7 +607,7 @@ Emacs Lisp.  It is an LALR parser suitable for complex languages.
 @c LocalWords: backquote bnf bovinate bovinates LALR
 @c LocalWords: bovinating bovination bovinator bucketize
 @c LocalWords: cb cdr charquote checkcache cindex CLOS
-@c LocalWords: concat concocting const constantness ctxt Decl defcustom
+@c LocalWords: concat concocting const ctxt Decl defcustom
 @c LocalWords: deffn deffnx defun defvar destructor's dfn diff dir
 @c LocalWords: doc docstring EDE EIEIO elisp emacsman emph enum
 @c LocalWords: eq Exp EXPANDFULL expression fn foo func funcall
index c2045e8a530771a684974fc073d1d371a44e7d65..033e031b648aa435da6eb2c77165f9cc50953ae3 100644 (file)
@@ -342,7 +342,7 @@ area will modify the other linked areas.  Pressing TAB will move
 between editable fields in the template.
 
 Once the cursor moves out of the are inserted by the template, all the
-fields are cancelled.
+fields are canceled.
 
 @b{NOTE}: Some conveniences in templates, such as completion, or
 character restrictions are lost when using field editing mode.
index 6f2b80f0bf7d202c0cf4e35e3568d8dd60552886..cc6aa2b56c661e8653a20493d80f974a23e8dcc9 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -856,7 +856,7 @@ are obsolete.  Customize the `woman-*' faces instead.
 
 *** The previous version of todo-mode.el is obsolete and renamed otodo-mode.el.
 
-*** xesam.el is obsolete, because the XESAM project has been cancelled.
+*** xesam.el is obsolete, because the XESAM project has been canceled.
 
 +++
 *** yow.el is obsolete; use fortune.el or cookie1.el instead.
index e85ea060a0d4da59e8e8be92402eb59e29d0ff6e..41e267efe1dbfac6532bb5078f4c5aae2c42c743 100644 (file)
@@ -1,3 +1,20 @@
+2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Spelling fixes.
+       * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
+       * emacs-lisp/debug.el (cancel-debug-on-entry):
+       * epg.el (epg-error-to-string):
+       * files.el (recover-file):
+       * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
+       * mail/emacsbug.el (report-emacs-bug-hook):
+       * mail/sendmail.el (mail-recover):
+       * ses.el (ses-yank-resize):
+       * term/ns-win.el (ns-print-buffer):
+       Spelling fixes in diagnostics, mostly for "canceled" with one L.
+       * epg.el (epg-key-capability-alist): Rename from misspelled version.
+       All uses changed.
+       * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
+
 2014-01-06  Leo Liu  <sdl.web@gmail.com>
 
        * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
 
        * files.el (write-file): Do not display confirm dialog for NS,
-       it does its own dialog, which can't be cancelled (Bug#14578).
+       it does its own dialog, which can't be canceled (Bug#14578).
 
 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
 
index 76ed7efb91cc8641b0caeca196ed88057e5e1404..0f38b318432794e0040edb00e18deb6ecfb7145d 100644 (file)
@@ -588,7 +588,7 @@ To cancel the edit, simply kill the *Calc Edit* buffer."
     (add-hook 'kill-buffer-hook (lambda ()
                                   (let ((calc-edit-handler nil))
                                     (calc-edit-finish t))
-                                  (message "(Cancelled)")) t t)
+                                  (message "(Canceled)")) t t)
     (insert (propertize
              (concat
               (or title title "Calc Edit Mode. ")
@@ -669,7 +669,7 @@ To cancel the edit, simply kill the *Calc Edit* buffer."
   (interactive)
   (let ((calc-edit-handler nil))
     (calc-edit-finish))
-  (message "(Cancelled)"))
+  (message "(Canceled)"))
 
 (defun calc-finish-stack-edit (num)
   (let ((buf (current-buffer))
index 47cf86042c74da23a08ef99efd06531a18940e3f..a5e9bd1787e5828068ec7ad6fd152b1963855a7f 100644 (file)
@@ -1968,7 +1968,7 @@ completion works."
         (complst nil))
     (when (and thissym (or (not (string= thissym ""))
                           nextsym))
-      ;; Do a quick calcuation of completions.
+      ;; Do a quick calculation of completions.
       (semantic-collector-calculate-completions
        collector thissym nil)
       ;; Get the master list
@@ -2048,7 +2048,7 @@ completion works."
         (complst nil))
     (when (and thissym (or (not (string= thissym ""))
                           nextsym))
-      ;; Do a quick calcuation of completions.
+      ;; Do a quick calculation of completions.
       (semantic-collector-calculate-completions
        collector thissym nil)
       ;; Get the master list
index 7b148743fcb501e8d7c46a9700ccca3b6acd2143..f5643f740905a6e219afa76b64193b73ac1dc381 100644 (file)
@@ -907,11 +907,11 @@ pre-positioned to a convenient location."
 
 (defun semantic-edits-splice-insert (newtags parent cachelist)
   "Insert NEWTAGS into PARENT using CACHELIST.
-PARENT could be nil, in which case CACHLIST is the buffer cache
+PARENT could be nil, in which case CACHELIST is the buffer cache
 which must be updated.
 CACHELIST must be searched to find where NEWTAGS are to be inserted.
 The positions of NEWTAGS must be synchronized with those in
-CACHELIST for this to work.  Some routines pre-position CACHLIST at a
+CACHELIST for this to work.  Some routines pre-position CACHELIST at a
 convenient location, so use that."
   (let* ((start (semantic-tag-start (car newtags)))
         (newtagendcell (nthcdr (1- (length newtags)) newtags))
index c768cc0b6727be21fee29197663f8926db98016a..571e0d25be1d43f3bbf7dceeb1d63bb2581017ce 100644 (file)
@@ -4353,7 +4353,7 @@ instead.
 
 ;;;***
 \f
-;;;### (autoloads nil "dired-x" "dired-x.el" "e816f06101aaf6f8a02b0192a58f90ad")
+;;;### (autoloads nil "dired-x" "dired-x.el" "fe5dbf515419da3b9907f32e5d4311fa")
 ;;; Generated autoloads from dired-x.el
 
 (autoload 'dired-jump "dired-x" "\
index abaf4591e89278ac377b2d2298fab674ef964065..99a50d48b5d606fdbc7765abe83f1d05f71c6ce9 100644 (file)
@@ -829,7 +829,7 @@ To specify a nil argument interactively, exit with an empty minibuffer."
       (progn
         (advice-remove function #'debug--implement-debug-on-entry)
        function)
-    (message "Cancelling debug-on-entry for all functions")
+    (message "Canceling debug-on-entry for all functions")
     (mapcar #'cancel-debug-on-entry (debug--function-list))))
 
 (defun debugger-list-functions ()
index 5b56b8447a217b6a83be98d6812f41f81e42fa52..647bbb344b1ccf4936af2a228639a8ab2090a156 100644 (file)
@@ -749,7 +749,7 @@ DIR-OR-OBJECT is the object to expand, or nil, and DEPTH is the
 current expansion depth."
   (when (eq (point-min) (point-max))
     ;; This function is only called once, to start the whole deal.
-    ;; Ceate, and expand the default object.
+    ;; Create and expand the default object.
     (eieio-class-button eieio-default-superclass 0)
     (forward-line -1)
     (speedbar-expand-line)))
index d30678875b3092d46eee303381e0f52d731a5f26..77181a1a342c5481f6eefd7fb1f0d26272ca2689 100644 (file)
     (?f . full)
     (?u . ultimate)))
 
-(defvar epg-key-capablity-alist
+(defvar epg-key-capability-alist
   '((?e . encrypt)
     (?s . sign)
     (?c . certify)
@@ -1124,7 +1124,7 @@ This function is for internal use only."
    ((eq (car error) 'exit)
     "Exit")
    ((eq (car error) 'quit)
-    "Cancelled")
+    "Canceled")
    ((eq (car error) 'no-data)
     (let ((entry (assq (cdr error) epg-no-data-reason-alist)))
       (if entry
@@ -1922,7 +1922,7 @@ This function is for internal use only."
    (if (aref line 1)
        (cdr (assq (string-to-char (aref line 1)) epg-key-validity-alist)))
    (delq nil
-        (mapcar (lambda (char) (cdr (assq char epg-key-capablity-alist)))
+        (mapcar (lambda (char) (cdr (assq char epg-key-capability-alist)))
                 (aref line 11)))
    (member (aref line 0) '("sec" "ssb"))
    (string-to-number (aref line 3))
index 5251c739b3f97f7147ff89a57bfecfe8a986a708..cb873b4342fd193be238ff6d843e055e09af8e03 100644 (file)
@@ -5570,7 +5570,7 @@ non-nil, it is called instead of rereading visited file contents."
             (insert-file-contents file-name nil)
             (set-buffer-file-coding-system coding-system))
           (after-find-file nil nil t))
-         (t (user-error "Recover-file cancelled")))))
+         (t (user-error "Recover-file canceled")))))
 
 (defun recover-session ()
   "Recover auto save files from a previous Emacs session.
index f4f47eb811eb7803e07ce56897b63cd0a3fbf7d5..790b2830adb03c737f566702d6212efce184b5fb 100644 (file)
@@ -1767,7 +1767,7 @@ Use LOOKUP-NAME for searching additional data if provided."
                                    n name)))
              (dolist (this files nil)
                (filesets-file-open open-function this))
-           (message "Filesets: cancelled")))
+           (message "Filesets: canceled")))
       (filesets-error 'error "Filesets: Unknown fileset: " name))))
 
 (defun filesets-close (&optional mode name lookup-name)
index c7ce2a6ff00ec683a7632e2eed4654c9f803d62d..d1a32d52e06b588f53017e0f0cfd2658f3bb0a8a 100644 (file)
@@ -7214,7 +7214,7 @@ header line with the old Message-ID."
           (let ((buffer-read-only nil))
             (erase-buffer)
             (insert-file-contents file-name nil)))
-         (t (error "message-recover cancelled")))))
+         (t (error "message-recover canceled")))))
 
 ;;; Washing Subject:
 
index 1aee7325d57647051d83916ae0d282c449801a4f..114deab32a2ea65cd8d9195d6dfe260f394c5b5c 100644 (file)
@@ -881,7 +881,7 @@ displayed."
         (progn
           (image-dired-display-thumbs)
           (pop-to-buffer image-dired-thumbnail-buffer))
-      (message "Cancelled."))))
+      (message "Canceled."))))
 
 ;;;###autoload
 (defalias 'image-dired 'image-dired-show-all-from-dir)
index 9b02f8946fc4a1387afb22fd627244097b8c4dbb..2b656375ca2c6bb3990ffeaee85e13ebafeea6e1 100644 (file)
@@ -1094,7 +1094,7 @@ with L, LRE, or LRO Unicode bidi character type.")
 ;;   (LOCALE TABLE (CHARSET (FROM-CODE . TO-CODE) ...) ...)
 ;; LOCALE: locale symbol
 ;; TABLE: char-table used for char-width-table, initially nil.
-;; CAHRSET: character set
+;; CHARSET: character set
 ;; FROM-CODE, TO-CODE: range of code-points in CHARSET
 
 (defvar cjk-char-width-table-list
index 6d13c9004c5cd47e23a6e58f0ac13de851356f81..166e5945af6124204af86d3ae62d8cf4849615ef 100644 (file)
   This list is taken from
     http://www.unicode.org/Public/UNIDATA/5.2/CompositionExclusions.txt")
 
-  ;; Unicode ranges that decompositions & combinings are defined.
+  ;; Unicode ranges that decompositions & combining characters are defined.
   (defvar check-range nil)
     (setq check-range '((#x00a0 . #x3400) (#xA600 . #xAC00) (#xF900 . #x110ff) (#x1d000 . #x1dfff) (#x1f100 . #x1f2ff) (#x2f800 . #x2faff)))
 
index f9214d192800f0a20b46fa1b2bb0c5acf33de7fc..86164aebdff9b0e2f13390b32bd15f616e44e7a1 100644 (file)
@@ -161,7 +161,7 @@ See the variables `lpr-switches' and `lpr-command'
 for customization of the printer command."
   (interactive
    (unless (y-or-n-p "Send current buffer to default printer? ")
-     (error "Cancelled")))
+     (error "Canceled")))
   (print-region-1 (point-min) (point-max) lpr-switches nil))
 
 ;;;###autoload
@@ -180,7 +180,7 @@ See the variables `lpr-switches' and `lpr-command'
 for further customization of the printer command."
   (interactive
    (unless (y-or-n-p "Send current buffer to default printer? ")
-     (error "Cancelled")))
+     (error "Canceled")))
   (print-region-1 (point-min) (point-max) lpr-switches t))
 
 ;;;###autoload
@@ -191,7 +191,7 @@ for customization of the printer command."
   (interactive
    (if (y-or-n-p "Send selected text to default printer? ")
        (list (region-beginning) (region-end))
-     (error "Cancelled")))
+     (error "Canceled")))
   (print-region-1 start end lpr-switches nil))
 
 ;;;###autoload
@@ -211,7 +211,7 @@ for further customization of the printer command."
   (interactive
    (if (y-or-n-p "Send selected text to default printer? ")
        (list (region-beginning) (region-end))
-     (error "Cancelled")))
+     (error "Canceled")))
   (print-region-1 start end lpr-switches t))
 
 (defun print-region-1 (start end switches page-headers)
index a0b968c200c6264734bd6384c261775174f33396..125e86dba9d27e424035b9834473fa6c8b1c0b72 100644 (file)
@@ -399,7 +399,7 @@ and send the mail again%s."
                             (format " using \\[%s]"
                                     report-emacs-bug-send-command)
                           "")))))
-      (error "M-x report-emacs-bug was cancelled, please read *Bug Help* buffer"))
+      (error "M-x report-emacs-bug was canceled, please read *Bug Help* buffer"))
     ;; Query the user for the SMTP method, so that we can skip
     ;; questions about From header validity if the user is going to
     ;; use mailclient, anyway.
index 0d6cc1f0046654e2932b24b0d7df24962a97d341..a0251a109fb659579011c51187a278df0a55d21f 100644 (file)
@@ -1977,7 +1977,7 @@ you can move to one of them and type C-c C-c to recover that one."
             (if (not (yes-or-no-p
                       (format "Recover mail draft from auto save file %s? "
                               file-name)))
-                (error "mail-recover cancelled")
+                (error "mail-recover canceled")
               (let ((buffer-read-only nil)
                     (buffer-coding buffer-file-coding-system)
                     ;; Auto-save files are written in internal
index d9f2b4767b6fb6fa61078b49dc85c4594d24a1a2..c77058a1e199e0783fc368c3ff28602b8e98a659 100644 (file)
 ;;      * Remove stupid newlines in titles (headlines) -- Thanks to
 ;;        Jeff Rancier.
 
-;; 0.94 * Added clickerability and description for channel headings.
+;; 0.94 * Added clickability and description for channel headings.
 ;;      * Made it work for (at least some) rss 0.9<something> feeds.
 
 ;; 0.93 * Added some more sites.
index 1fda79983ac01ac575d8797b9f701a4fc27c500b..36da1c10ba29811e2107b82fe5bc592d3901c386 100644 (file)
@@ -198,7 +198,7 @@ be different at least in one face property not set in that face."
     "xesam:colorCount" "xesam:colorSpace" "xesam:columnCount" "xesam:comment"
     "xesam:commentCharacterCount" "xesam:conflicts" "xesam:contactMedium"
     "xesam:contactName" "xesam:contactNick" "xesam:contactPhoto"
-    "xesam:contactURL" "xesam:contains" "xesam:contenKeyword"
+    "xesam:contactURL" "xesam:contains" "xesam:contentKeyword"
     "xesam:contentComment" "xesam:contentCreated" "xesam:contentModified"
     "xesam:contentType" "xesam:contributor" "xesam:copyright" "xesam:creator"
     "xesam:definesClass" "xesam:definesFunction" "xesam:definesGlobalVariable"
index 508be8c4e8f8e376fd4d44832f5744e4d4b3ea38..fa50f9dda9583b10f518e84e14750db503314a60 100644 (file)
@@ -424,7 +424,7 @@ to add an effort property.")
   "Hook run when stopping the current clock.")
 
 (defvar org-clock-cancel-hook nil
-  "Hook run when cancelling the current clock.")
+  "Hook run when canceling the current clock.")
 (defvar org-clock-goto-hook nil
   "Hook run when selecting the currently clocked-in entry.")
 (defvar org-clock-has-been-used nil
@@ -441,7 +441,7 @@ to add an effort property.")
 (defvar org-clock-start-time "")
 
 (defvar org-clock-leftover-time nil
-  "If non-nil, user cancelled a clock; this is when leftover time started.")
+  "If non-nil, user canceled a clock; this is when leftover time started.")
 
 (defvar org-clock-effort ""
   "Effort estimate of the currently clocking task.")
index feaa7bd91d4d9887045178adfd01aa2bf0ea425a..5109cac2a87c47f4fa05df302d6743fb320481c8 100644 (file)
@@ -3025,7 +3025,7 @@ spot, or error signal if user requests cancel."
                            (if rowbool (format "%d rows" needrows) "")
                            (if (and rowbool colbool) " and " "")
                            (if colbool (format "%d columns" needcols) "")))
-         (error "Cancelled"))
+         (error "Canceled"))
       (when rowbool
        (let (ses--curcell)
          (save-excursion
index 432163a7d9cbebf8b2eb6733fbaf67f7a586db65..70c91de558f2f881e35eccf2e1dea885e5fd5627 100644 (file)
@@ -626,7 +626,7 @@ the last file dropped is selected."
                                   `(mouse-1 POSITION 1))))
         (if (y-or-n-p (format "Print buffer %s? " (buffer-name)))
             (print-buffer)
-         (error "Cancelled")))
+         (error "Canceled")))
     (print-buffer)))
 
 ;;;; Font support.
index 7de53e128476f2b28c77c3c1cce8675f7b924e5c..60aabc32c9fd5cd4a60456605979bb7045fa3774 100644 (file)
 ;; Todo: (in the order of priority, some are just possibility)
 ;; -----
 ;;
-;; Fix compatibilities with other input method than quail
+;; Fix incompatibilities with input methods other than quail
 ;; Resolve conflict with flyspell
 ;; Use mouse for resizing cells
 ;; A mechanism to link cells internally
index 1d0147284c4f101fc2e99417c145a5a5a266e710..7630ffbdb9c3894767a81fec898179a0ebde7c0e 100644 (file)
 ;; Thanks to Andreas Roehler <andreas.roehler@easy-emacs.de> for
 ;; indicating defface byte-compilation warnings.
 ;;
-;; Thanks to TimOCallaghan (EmacsWiki) for the idea about highlight
+;; Thanks to Tim O'Callaghan (EmacsWiki) for the idea about highlight
 ;; "long" lines.  See EightyColumnRule (EmacsWiki).
 ;;
 ;; Thanks to Yanghui Bian <yanghuibian@gmail.com> for indicating a new
index 63c7c9df68d39a7b31231a1c9e24e4018ea35afb..07aedadccae5f9374d0d68687e396f36ac8cb9d5 100644 (file)
        now, but we want to make other targets possible.
        * lisp.h: Include <inttypes.h>, for INTPTR_MAX, UINTPTR_MAX.
        (EMACS_INTPTR, EMACS_UINTPTR): New macros.
-       In the rest of the code, change types of integers that hold casted
+       In the rest of the code, change types of integers that hold casts of
        pointers to EMACS_INTPTR and EMACS_UINTPTR, systematically
        replacing EMACS_INT, long, EMACS_UINT, and unsigned long.
        (XTYPE): Don't cast arg to EMACS_UINT; normally is not needed.
index 1df61b20a5f65acc7d2e3f3337a86a6cc1e0e77a..384989732e1c2e1e24158c9ebc21045868baf9cb 100644 (file)
@@ -54,7 +54,7 @@ static Lisp_Object freetype_font_cache;
 /* Cache for FT_Face and FcCharSet. */
 static Lisp_Object ft_face_cache;
 
-/* The actual structure for FreeType font that can be casted to struct
+/* The actual structure for FreeType font that can be cast to struct
    font.  */
 
 struct ftfont_info
index 80088b31256cbdcbdcc60e7d55904f6de2141f97..feeee1fbebf7ba2aaf3e1208a8165f9f8a8a5b9b 100644 (file)
@@ -84,7 +84,7 @@ static Lisp_Object QCminspace;
 
 struct macfont_metrics;
 
-/* The actual structure for Mac font that can be casted to struct font.  */
+/* The actual structure for Mac font that can be cast to struct font.  */
 
 struct macfont_info
 {
index eefaea8888f9113f670cf539f2f527fd0a0e68b6..686db4c68ce6a3986f5de6e8499eaff7fbcca327 100644 (file)
@@ -3506,7 +3506,7 @@ check_native_fs ()
 /* GNUStep and OSX <= 10.4 does not have cancelTracking.  */
 #if defined (NS_IMPL_COCOA) && \
   MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
-/* Check if menu open should be cancelled or continued as normal.  */
+/* Check if menu open should be canceled or continued as normal.  */
 void
 ns_check_menu_open (NSMenu *menu)
 {
index 66a731562fb7025b7b5d3aec057115f081132d6a..32816b97f23ba8c659c88cf2467ddae693952f05 100644 (file)
@@ -42,7 +42,7 @@ Lisp_Object Qxft;
 static Lisp_Object QChinting, QCautohint, QChintstyle, QCrgba, QCembolden,
   QClcdfilter;
 
-/* The actual structure for Xft font that can be casted to struct
+/* The actual structure for Xft font that can be cast to struct
    font.  */
 
 struct xftfont_info