From fffa137cb7bb78445b2f8aef44d251dfe83f06f6 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 27 Jun 2008 07:34:53 +0000 Subject: [PATCH] American English spelling fix. --- ChangeLog | 2 +- admin/ChangeLog | 2 +- admin/notes/multi-tty | 4 ++-- doc/emacs/ChangeLog | 2 +- doc/misc/ChangeLog | 2 +- doc/misc/tramp.texi | 2 +- etc/ChangeLog | 2 +- etc/ETAGS.EBNF | 2 +- etc/NEWS | 2 +- etc/NEWS.1-17 | 2 +- etc/NEWS.22 | 4 ++-- etc/NXML-NEWS | 4 ++-- etc/termcap.src | 4 ++-- leim/ChangeLog | 2 +- lisp/ChangeLog.10 | 8 ++++---- lisp/ChangeLog.12 | 4 ++-- lisp/ChangeLog.13 | 2 +- lisp/ChangeLog.3 | 2 +- lisp/ChangeLog.5 | 2 +- lisp/ChangeLog.6 | 4 ++-- lisp/ChangeLog.7 | 4 ++-- lisp/ChangeLog.8 | 2 +- lisp/ChangeLog.9 | 8 ++++---- lisp/arc-mode.el | 2 +- lisp/complete.el | 6 +++--- lisp/emulation/cua-base.el | 2 +- lisp/emulation/pc-select.el | 4 ++-- lisp/erc/ChangeLog.02 | 10 +++++----- lisp/erc/erc-truncate.el | 2 +- lisp/filesets.el | 2 +- lisp/font-core.el | 2 +- lisp/font-lock.el | 2 +- lisp/gnus/ChangeLog.2 | 4 ++-- lisp/gnus/gnus-demon.el | 2 +- lisp/gnus/message.el | 2 +- lisp/gnus/rfc2047.el | 2 +- lisp/gs.el | 2 +- lisp/ido.el | 6 +++--- lisp/international/mule-cmds.el | 2 +- lisp/international/utf-7.el | 2 +- lisp/iswitchb.el | 4 ++-- lisp/mail/mailabbrev.el | 2 +- lisp/mail/mspools.el | 2 +- lisp/man.el | 2 +- lisp/mouse-sel.el | 4 ++-- lisp/mouse.el | 2 +- lisp/net/rcirc.el | 2 +- lisp/nxml/nxml-ns.el | 2 +- lisp/progmodes/f90.el | 2 +- lisp/progmodes/sql.el | 2 +- lisp/tempo.el | 2 +- lisp/term/internal.el | 2 +- lisp/textmodes/rst.el | 6 +++--- lisp/url/ChangeLog | 2 +- lisp/vcursor.el | 6 +++--- lisp/woman.el | 2 +- nt/cmdproxy.c | 2 +- src/ChangeLog.10 | 8 ++++---- src/ChangeLog.3 | 2 +- src/ChangeLog.4 | 2 +- src/ChangeLog.6 | 2 +- src/ChangeLog.7 | 10 +++++----- src/lread.c | 2 +- src/w32.c | 4 ++-- src/w32fns.c | 2 +- src/w32inevt.c | 2 +- src/w32proc.c | 4 ++-- src/w32term.c | 6 +++--- 68 files changed, 108 insertions(+), 108 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1e51b8b326..cee624fa34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6894,7 +6894,7 @@ * make-dist: Check the flag called "make_tar", not "make_dir"; the latter, being a typo, is always false, resulting in a program - whose default behaviour is to painstakingly build a copy of the + whose default behavior is to painstakingly build a copy of the source tree, and then delete it. Rah. * Makefile.in: Add dist target, and comment for it. diff --git a/admin/ChangeLog b/admin/ChangeLog index 11480faa4e..090f8c2089 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog @@ -463,7 +463,7 @@ 2005-02-15 Jason Rumney - * nt/makedist.bat: Do not rely on non-standard behaviour of + * nt/makedist.bat: Do not rely on non-standard behavior of tar --exclude. 2004-11-02 Jan Djärv diff --git a/admin/notes/multi-tty b/admin/notes/multi-tty index c3d432d17c..685967ca96 100644 --- a/admin/notes/multi-tty +++ b/admin/notes/multi-tty @@ -93,7 +93,7 @@ Known problems: emacsclient -e '(top-level)' - Note that this (perhaps) unintuitive behaviour is by design. + Note that this (perhaps) unintuitive behavior is by design. Single-kboard mode is required because of an intrinsic Emacs limitation that is very hard to eliminate. (This limitation is related to the single-threaded nature of Emacs.) @@ -733,7 +733,7 @@ DIARY OF CHANGES term_init/delete_tty. The hint was right, in a way.) -- Issue with SIGIO: it needs to be disabled during redisplay. See if - fcntl kernel behaviour could be emulated by emacsclient. + fcntl kernel behavior could be emulated by emacsclient. (Done. Simply disabled the SIGIO emulation hack in emacsclient.) (Update: it was added back.) (Update^2: and removed again.) diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 2f6d1b0897..64e8fc3a81 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -4964,7 +4964,7 @@ 2003-08-03 Glenn Morris - * calendar.texi (Date Formats): Document changed behaviour of + * calendar.texi (Date Formats): Document changed behavior of abbreviations. 2003-07-24 Markus Rost diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 8b0b08cdf9..8278166f0a 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -659,7 +659,7 @@ 2007-11-18 Michael Albinus * tramp.texi (Filename completion): Simplify explanation of - double-slash behaviour. Explain directory contents flushing. + double-slash behavior. Explain directory contents flushing. 2007-11-16 Jay Belanger diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index e3016f637a..0d751a93b1 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -2278,7 +2278,7 @@ for files on the local host, with the exception that minibuffer killing via a double-slash works only on the filename part, except that filename part starts with @file{//}. @ifset emacs -A triple-slash stands for the default behaviour. +A triple-slash stands for the default behavior. @end ifset @ifinfo @xref{Minibuffer File, , , @value{emacsdir}}. diff --git a/etc/ChangeLog b/etc/ChangeLog index 8788493de3..d43f477fae 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -2964,7 +2964,7 @@ 2001-05-17 Francesco Potortì - * etags.1: Add the latest changes to etags behaviour. + * etags.1: Add the latest changes to etags behavior. 2001-05-04 Eli Zaretskii diff --git a/etc/ETAGS.EBNF b/etc/ETAGS.EBNF index fa2ae6c772..148de7c230 100644 --- a/etc/ETAGS.EBNF +++ b/etc/ETAGS.EBNF @@ -10,7 +10,7 @@ This file contains two sections: ====================== 1) EBNF tag file description ===================== -Productions created from current behaviour to aid extensions +Productions created from current behavior to aid extensions Francesco Potorti` 2002 ---------------- diff --git a/etc/NEWS b/etc/NEWS index 2652d4eb8b..a3ae75bf30 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -712,7 +712,7 @@ saving changes. with the face `eldoc-highlight-function-argument'. *** In Etags, the --members option is now the default. -Use --no-members if you want the old default behaviour of not tagging +Use --no-members if you want the old default behavior of not tagging struct members in C, members variables in C++ and variables in PHP. *** The `gdb' command only works with the graphical interface now. diff --git a/etc/NEWS.1-17 b/etc/NEWS.1-17 index c92cee7481..c9dc2729fc 100644 --- a/etc/NEWS.1-17 +++ b/etc/NEWS.1-17 @@ -1026,7 +1026,7 @@ cursor's line. There are a number of other commands which are the same as those of buffer-menu-mode. This is a useful thing to bind to c-x c-b in your `.emacs' file if the -rather non-standard `electric' behaviour of the buffer list suits your taste. +rather non-standard `electric' behavior of the buffer list suits your taste. Type C-h after invoking electric-buffer-list for more information. Calls value of `electric-buffer-menu-mode-hook' if non-nil on entry. diff --git a/etc/NEWS.22 b/etc/NEWS.22 index 6bd1393d1b..2a7ab4371a 100644 --- a/etc/NEWS.22 +++ b/etc/NEWS.22 @@ -102,7 +102,7 @@ in to make it use the scrollbars from the system theme. ** focus-follows-mouse defaults to nil on MS Windows. Previously this variable was incorrectly documented as having no effect on MS Windows, and the default was inappropriate for the majority of -Windows installations. Users of software which modifies the behaviour of +Windows installations. Users of software which modifies the behavior of Windows to cause focus to follow the mouse will now need to explicitly set this variable. @@ -2484,7 +2484,7 @@ Emacs 21/22 such as the toolbar, and bitmaps in the fringe to indicate breakpoints. To use this package just type M-x gdb. See the Emacs manual if you want the -old behaviour. +old behavior. *** GUD mode has its own tool bar for controlling execution of the inferior and other common debugger commands. diff --git a/etc/NXML-NEWS b/etc/NXML-NEWS index cebbab82fd..ab0d351096 100644 --- a/etc/NXML-NEWS +++ b/etc/NXML-NEWS @@ -93,7 +93,7 @@ the content of an element. C-M-n and C-M-p move to the next or previous element. By default, the sexp commands (C-M-f, C-M-b, C-M-k, C-M-SPC) operate -on tags rather than elements. To restore the old behaviour, +on tags rather than elements. To restore the old behavior, customize nxml-sexp-element-flag. The file TUTORIAL has been replaced by nxml-mode.info; this is in info @@ -137,7 +137,7 @@ You can do M-x customize-variable RET nxml-slash-auto-complete-flag RET and then follow the instructions displayed in the buffer to get the -old behaviour. +old behavior. Completion after * quail/indian.el (quail-indian-update-translation): Adjust the - behaviour according to the change of quail-translate-key. + behavior according to the change of quail-translate-key. 2003-05-22 Kenichi Handa diff --git a/lisp/ChangeLog.10 b/lisp/ChangeLog.10 index bd0703de13..4d20acd8b8 100644 --- a/lisp/ChangeLog.10 +++ b/lisp/ChangeLog.10 @@ -14464,7 +14464,7 @@ * simple.el (push-mark-command): Added optional NOMSG arg. * emulation/cua-base.el (cua-set-mark): Align pop to mark - behaviour with standard set-mark-command. + behavior with standard set-mark-command. (cua--pre-command-handler): Use push-mark-command. (cua-repeat-replace-region): Improve functionality when repeated after moving point or changing buffer. @@ -14482,7 +14482,7 @@ 2002-05-26 Glenn Morris * progmodes/f90.el (f90-previous-block, f90-next-block): New names, - and slightly changed behaviour, for `f90-previous-block-start' and + and slightly changed behavior, for `f90-previous-block-start' and `f90-next-block-end'. (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify. @@ -17724,7 +17724,7 @@ directory names in classpath/sourcepath lists, update comment. (jdb): Add setting of gud-jdb-sourcepath, update comment. (gud-find-class): Add gud-jdb-sourcepath use, and correct - behaviour for the case when classpath is not used--backward + behavior for the case when classpath is not used--backward compatibility fix. 2002-03-27 Eli Zaretskii @@ -22062,7 +22062,7 @@ 2001-11-18 Stephen Eglen * iswitchb.el (iswitchb-cannot-complete-hook): New variable to - control behaviour when no further completion is possible. + control behavior when no further completion is possible. 2001-11-19 Colin Walters diff --git a/lisp/ChangeLog.12 b/lisp/ChangeLog.12 index db12cac619..fc0ef6e616 100644 --- a/lisp/ChangeLog.12 +++ b/lisp/ChangeLog.12 @@ -3869,7 +3869,7 @@ 2006-11-26 Nick Roberts - * speedbar.el (speedbar-timer-fn): Revert to old behaviour when not + * speedbar.el (speedbar-timer-fn): Revert to old behavior when not in GUD mode. * progmodes/gud.el (gud-install-speedbar-variables): Remove bindings: @@ -4512,7 +4512,7 @@ * printing.el (pr-alist-custom-set, pr-ps-utility-custom-set) (pr-ps-name-custom-set, pr-txt-name-custom-set): Return back the old - behaviour. + behavior. (pr-menu-bind): Act on global-map instead of menu-bar-file-menu directly. diff --git a/lisp/ChangeLog.13 b/lisp/ChangeLog.13 index a7246c3ab5..89333a731c 100644 --- a/lisp/ChangeLog.13 +++ b/lisp/ChangeLog.13 @@ -3985,7 +3985,7 @@ 2008-01-17 Vinicius Jose Latorre Miles Bader - * blank-mode.el: New file. Minor mode to visualise (HARD) SPACE, + * blank-mode.el: New file. Minor mode to visualize (HARD) SPACE, TAB, NEWLINE. Miles Bader wrote the original code for handling display table (via visws.el package), his code was modified, but the main idea was kept. diff --git a/lisp/ChangeLog.3 b/lisp/ChangeLog.3 index 9de6be0906..a69ab8456b 100644 --- a/lisp/ChangeLog.3 +++ b/lisp/ChangeLog.3 @@ -2696,7 +2696,7 @@ * fortran.el (fortran-prepare-abbrev-list-buffer): Put quote in front of first argument to `insert-abbrev-table-description'. - * fortran.el (fortran-is-in-string-p): Fixed incorrect behaviour + * fortran.el (fortran-is-in-string-p): Fixed incorrect behavior when in first statement of a buffer. 1993-02-08 Roland McGrath (roland@geech.gnu.ai.mit.edu) diff --git a/lisp/ChangeLog.5 b/lisp/ChangeLog.5 index ee88e5b073..1a2781b0d9 100644 --- a/lisp/ChangeLog.5 +++ b/lisp/ChangeLog.5 @@ -4533,7 +4533,7 @@ * imenu.el (imenu-always-use-completion-buffer-p): A value of `never' now means never display a completion buffer. - (imenu--completion-buffer): Implement 'never behaviour. + (imenu--completion-buffer): Implement 'never behavior. 1994-12-21 Stefan Schoef diff --git a/lisp/ChangeLog.6 b/lisp/ChangeLog.6 index c4c00ffb08..f06df6497f 100644 --- a/lisp/ChangeLog.6 +++ b/lisp/ChangeLog.6 @@ -5291,7 +5291,7 @@ * skeleton.el (skeleton-end-hook): Now defvared and responsible for pushing out anything following skeleton to next line. Thus this - behaviour can now be controlled by modes. + behavior can now be controlled by modes. (skeleton-insert): Parameter `no-newline' removed. (skeleton-read): Take this into account. (skeleton-internal-1): Less spurious empty lines when wrapping. @@ -6721,7 +6721,7 @@ * skeleton.el (skeleton-newline-indent-rigidly): New variable. (skeleton-internal-1): Use it for indenting after \n because previous - behaviour was only useful for `sh-script.el' and old `ada.el'. Other + behavior was only useful for `sh-script.el' and old `ada.el'. Other modes now get their own indentation. (skeleton, skeleton-modified, skeleton-point, skeleton-regions): `New' variables for passing between the mutually recursive functions of diff --git a/lisp/ChangeLog.7 b/lisp/ChangeLog.7 index f933402f3c..85881594f1 100644 --- a/lisp/ChangeLog.7 +++ b/lisp/ChangeLog.7 @@ -6528,7 +6528,7 @@ are used for key generation as well. (bibtex-member-of-regexp): Case is honoured for matches now. (bibtex-autokey-titleword-ignore): Added entries provide compatibility - to former behaviour. + to former behavior. * bibtex.el (bibtex-autokey-titleword-ignore): Title words found in this list are always ignored (previously only at the beginning of the @@ -21591,7 +21591,7 @@ * find-file.el (general): Enabled commentary for Finder. (ff-search-directories): Changed /usr/include/* to /usr/include. - (ff-get-file-name): Improve behaviour when file is found in a buffer. + (ff-get-file-name): Improve behavior when file is found in a buffer. 1996-11-02 Richard Stallman diff --git a/lisp/ChangeLog.8 b/lisp/ChangeLog.8 index d74795ecfe..0f924efa6d 100644 --- a/lisp/ChangeLog.8 +++ b/lisp/ChangeLog.8 @@ -7276,7 +7276,7 @@ * rmail.el (rmail-encode-string): Make sure mask value is positive; (emacs-pid) returns a negative number on Windows 9x - which causes odd behaviour. + which causes odd behavior. 1998-12-31 Eli Zaretskii diff --git a/lisp/ChangeLog.9 b/lisp/ChangeLog.9 index 51f29b94b4..b98599b3dd 100644 --- a/lisp/ChangeLog.9 +++ b/lisp/ChangeLog.9 @@ -3535,7 +3535,7 @@ 2001-05-07 MORIOKA Tomohiko The following changes are to provide infrastructure for handling - MIME messages to rmail. They don't affect the original behaviour + MIME messages to rmail. They don't affect the original behavior if rmail-enable-mime is nil. * mail/rmail.el (rmail-insert-mime-forwarded-message-function) @@ -3792,7 +3792,7 @@ 2001-04-24 Gerd Moellmann - * rect.el (string-rectangle): Revert to 20.x behaviour. + * rect.el (string-rectangle): Revert to 20.x behavior. (replace-rectangle): Make it an alias for string-rectangle. (string-insert-rectangle): New function. @@ -13875,7 +13875,7 @@ * timer.el (run-with-idle-timer): Undo last change, so that timer is not activated immediately if Emacs is already idle. Some - existing code relies on this behaviour. + existing code relies on this behavior. 2000-08-30 Miles Bader @@ -16846,7 +16846,7 @@ * recentf.el: Added some "Commentary". (recentf-open-more-files, recentf-edit-list): Minor changes to - move the point at the top of the file list. This behaviour is + move the point at the top of the file list. This behavior is consistent with the menu one when the list contains a lot of files. (recentf-cleanup): Now displays the number of items removed from diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el index f97ad4bf8c..83ffe65c97 100644 --- a/lisp/arc-mode.el +++ b/lisp/arc-mode.el @@ -230,7 +230,7 @@ be added." (string :format "%v"))) :group 'archive-zip) -;; For several reasons the latter behaviour is not desirable in general. +;; For several reasons the latter behavior is not desirable in general. ;; (1) It uses more disk space. (2) Error checking is worse or non- ;; existent. (3) It tends to do funny things with other systems' file ;; names. diff --git a/lisp/complete.el b/lisp/complete.el index 058bcd7e8a..95e116f753 100644 --- a/lisp/complete.el +++ b/lisp/complete.el @@ -933,7 +933,7 @@ or properties are considered." ;; completions of "(ne", which is presumably not what one wants. ;; ;; This is arguably (at least, it seems to be the existing intended - ;; behaviour) what one _does_ want if point has been explicitly + ;; behavior) what one _does_ want if point has been explicitly ;; positioned on the hyphen. Note that if PC-do-completion (qv) binds ;; completion-base-size to nil, then completion does not replace the ;; correct amount of text in such cases. @@ -945,12 +945,12 @@ or properties are considered." ;; the minibuffer. The same is not true for lisp symbols. ;; ;; [1] An alternate fix would be to not move point to the hyphen - ;; in such cases, but that would make the behaviour different from + ;; in such cases, but that would make the behavior different from ;; that for filenames. It seems PC moves point to the site of the ;; first difference between the possible completions. ;; ;; Alternatively alternatively, maybe end should be computed in - ;; the same way as beg. That would change the behaviour though. + ;; the same way as beg. That would change the behavior though. (if (equal last-command 'PC-lisp-complete-symbol) (PC-do-completion nil beg PC-lisp-complete-end t) (if PC-lisp-complete-end diff --git a/lisp/emulation/cua-base.el b/lisp/emulation/cua-base.el index 9047b6473a..8a366a25d7 100644 --- a/lisp/emulation/cua-base.el +++ b/lisp/emulation/cua-base.el @@ -63,7 +63,7 @@ ;; - press the prefix key and the following key within 0.2 seconds, or ;; - use the SHIFT key with the prefix key, i.e. C-X or C-C ;; -;; This behaviour can be customized via the +;; This behavior can be customized via the ;; cua-prefix-override-inhibit-delay variable. ;; In addition to using the shifted movement keys, you can also use diff --git a/lisp/emulation/pc-select.el b/lisp/emulation/pc-select.el index 9400c37cee..bb977cc380 100644 --- a/lisp/emulation/pc-select.el +++ b/lisp/emulation/pc-select.el @@ -30,7 +30,7 @@ ;; programs (which is the same as the MAC gui and (sorry for that) MS-Windows). ;; It modifies the keybindings of the cursor keys and the next, prior, ;; home and end keys. They will modify mark-active. -;; You can still get the old behaviour of cursor moving with the +;; You can still get the old behavior of cursor moving with the ;; control sequences C-f, C-b, etc. ;; This package uses transient-mark-mode and ;; delete-selection-mode. @@ -71,7 +71,7 @@ ;; which will operate on the active region ;; It was not possible to bind them to C-v, C-x and C-c for obvious ;; emacs reasons. -;; They will be bound according to the "old" behaviour to S-delete (cut), +;; They will be bound according to the "old" behavior to S-delete (cut), ;; S-insert (paste) and C-insert (copy). These keys do the same in many ;; other programs. ;; diff --git a/lisp/erc/ChangeLog.02 b/lisp/erc/ChangeLog.02 index f7ade03aee..d46a57b18c 100644 --- a/lisp/erc/ChangeLog.02 +++ b/lisp/erc/ChangeLog.02 @@ -162,7 +162,7 @@ * erc.el(erc-truncate-buffer-on-save): Removed documentation that - described behaviour now changed. It used to say "When nil, no + described behavior now changed. It used to say "When nil, no buffer is ever truncated." This is no longer true; even when buffers are NOT truncated on save, they can be truncated, eg. by adding erc-truncate-buffer to the hook. @@ -1916,7 +1916,7 @@ Fix C-c C-t to not include the nick/time info (both from antifuchs) - * erc-complete.el: Fix for xemacs elt behaviour + * erc-complete.el: Fix for xemacs elt behavior 2002-04-17 John Wiegley @@ -1970,7 +1970,7 @@ 2002-04-11 Mario Lang * erc-track.el: - try to fix behaviour when used with different frames. + try to fix behavior when used with different frames. 2002-04-09 Mario Lang @@ -2162,7 +2162,7 @@ * erc-match.el: Minor fix related to hook call method change (-until-seccess now) - * erc.el: fixed ctcp behaviour abit (with auto-query on) + * erc.el: fixed ctcp behavior abit (with auto-query on) * erc-list.el: ChanList mode. Load it, and type M-x erc-chanlist RET @@ -2396,7 +2396,7 @@ 2002-01-30 Andreas Fuchs * erc.el: - * erc-send-current-line: fix behaviour where buffer changes. + * erc-send-current-line: fix behavior where buffer changes. * erc-mark-message: fix stupid face bug. highlighting of pals should work now. * erc-ring.el, erc.el: diff --git a/lisp/erc/erc-truncate.el b/lisp/erc/erc-truncate.el index 0737fb1a0b..02641c70a3 100644 --- a/lisp/erc/erc-truncate.el +++ b/lisp/erc/erc-truncate.el @@ -70,7 +70,7 @@ region is logged if `erc-logging-enabled' returns non-nil." (set-buffer buffer) ;; Note that when erc-insert-post-hook runs, the buffer is ;; narrowed to the new message. So do this delicate widening. - ;; I am not sure, I think this was not recommended behaviour in + ;; I am not sure, I think this was not recommended behavior in ;; Emacs 20. (save-restriction (widen) diff --git a/lisp/filesets.el b/lisp/filesets.el index 2d6cb5f0f7..064cfbfb0e 100644 --- a/lisp/filesets.el +++ b/lisp/filesets.el @@ -52,7 +52,7 @@ ;; programs. See `filesets-external-viewers'. ;; BTW, if you close a fileset, files, which have been changed, will -;; be silently saved. Change this behaviour by setting +;; be silently saved. Change this behavior by setting ;; `filesets-save-buffer-fn'. ;;; Supported modes for inclusion groups (`filesets-ingroup-patterns'): diff --git a/lisp/font-core.el b/lisp/font-core.el index c7906b68d0..e3c34b012c 100644 --- a/lisp/font-core.el +++ b/lisp/font-core.el @@ -252,7 +252,7 @@ this function onto `change-major-mode-hook'." ;; Although Global Font Lock mode is a pseudo-mode, I think that the user ;; interface should conform to the usual Emacs convention for modes, i.e., a ;; command to toggle the feature (`global-font-lock-mode') with a variable for -;; finer control of the mode's behaviour (`font-lock-global-modes'). +;; finer control of the mode's behavior (`font-lock-global-modes'). ;; ;; The feature should not be enabled by loading font-lock.el, since other ;; mechanisms for turning on Font Lock mode, such as M-x font-lock-mode RET or diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 9206da2875..3f81de0b14 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -109,7 +109,7 @@ ;; the pattern definitions.) Font Lock mode chooses which variable to use for ;; fontification based on `font-lock-maximum-decoration'. ;; -;; Font Lock mode fontification behaviour can be modified in a number of ways. +;; Font Lock mode fontification behavior can be modified in a number of ways. ;; See the below comments and the comments distributed throughout this file. ;;; Constructing patterns: diff --git a/lisp/gnus/ChangeLog.2 b/lisp/gnus/ChangeLog.2 index c1f8769a6b..ba06c25e9c 100644 --- a/lisp/gnus/ChangeLog.2 +++ b/lisp/gnus/ChangeLog.2 @@ -12322,7 +12322,7 @@ * mm-encode.el (mm-encode-content-transfer-encoding): Fix error message. (Gnus does not "default" to using 8bit for the message, it default to use 8bit encoding and the user-supplied CTE - value. Calling this behaviour "treating it as 8bit" is perhaps + value. Calling this behavior "treating it as 8bit" is perhaps better.) * mm-bodies.el (mm-body-encoding): Intern encoding if needed @@ -12607,7 +12607,7 @@ (imap-remassoc): Copied from `gnus-remassoc'. (imap-add-callback): New function. (imap-mailbox-expunge, imap-mailbox-close): Support asynchronous - behaviour. + behavior. (imap-parse-response): Call the callback. * message.el (message-insert-canlock): New variable. diff --git a/lisp/gnus/gnus-demon.el b/lisp/gnus/gnus-demon.el index 565be3bcb4..bf7b4db889 100644 --- a/lisp/gnus/gnus-demon.el +++ b/lisp/gnus/gnus-demon.el @@ -1,4 +1,4 @@ -;;; gnus-demon.el --- daemonic Gnus behaviour +;;; gnus-demon.el --- daemonic Gnus behavior ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, ;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc. diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 8ccce96656..0a38ec028c 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -4543,7 +4543,7 @@ to find out how to use this." (apply 'call-process-region (point-min) (point-max) message-qmail-inject-program nil nil nil - ;; qmail-inject's default behaviour is to look for addresses on the + ;; qmail-inject's default behavior is to look for addresses on the ;; command line; if there're none, it scans the headers. ;; yes, it does The Right Thing w.r.t. Resent-To and it's kin. ;; diff --git a/lisp/gnus/rfc2047.el b/lisp/gnus/rfc2047.el index 89c10a99e0..ea5274798b 100644 --- a/lisp/gnus/rfc2047.el +++ b/lisp/gnus/rfc2047.el @@ -291,7 +291,7 @@ Should be called narrowed to the head of the message." ;; 8-bit names. The group name mail copy just got ;; unconditionally encoded. Previously, it would ask ;; whether to encode, which was quite confusing for the - ;; user. If the new behaviour is wrong, tell me. I have + ;; user. If the new behavior is wrong, tell me. I have ;; left the old code commented out below. ;; -- Per Abrahamsen Date: 2001-10-07. ;; Modified by Dave Love, with the commented-out code changed diff --git a/lisp/gs.el b/lisp/gs.el index f17ea17afb..3f0929f780 100644 --- a/lisp/gs.el +++ b/lisp/gs.el @@ -196,7 +196,7 @@ the form \"WINDOW-ID PIXMAP-ID\". Value is non-nil if successful." ;; proper implementation not waiting at all but creating ;; appropriate queues, or b) permanently bad display due to ;; bad cached images. So remember that this - ;; is just a hack and if people don't like the behaviour, they + ;; is just a hack and if people don't like the behavior, they ;; will most likely like the easy alternatives even less. ;; And at least the image cache will make the delay apparent ;; just once. diff --git a/lisp/ido.el b/lisp/ido.el index d4a8478050..e5091b83c0 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -225,7 +225,7 @@ ;; to show you more of the matching files (depending on the setting ;; of the variables `resize-mini-windows' and `max-mini-window-height'). ;; If you want ido to behave differently from the default minibuffer -;; resizing behaviour, set the variable `ido-max-window-height'. +;; resizing behavior, set the variable `ido-max-window-height'. ;; ;; Also, to improve the responsiveness of ido, the maximum number of ;; matching items is limited to 12, but you can increase or removed @@ -272,7 +272,7 @@ ;; To use ido for all buffer and file selections in Emacs, customize the ;; variable `ido-everywhere'. -;; Using ido-like behaviour in other lisp packages +;; Using ido-like behavior in other lisp packages ;; ----------------------------------------------- ;; If you don't want to rely on the `ido-everywhere' functionality, @@ -2267,7 +2267,7 @@ If cursor is not at the end of the user input, move to end of input." (or ido-use-url-at-point ido-use-filename-at-point)) (let (fn d) (require 'ffap) - ;; Duplicate code from ffap-guesser as we want different behaviour for files and URLs. + ;; Duplicate code from ffap-guesser as we want different behavior for files and URLs. (cond ((with-no-warnings (and ido-use-url-at-point diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 2e9b1e100e..98e6577aa7 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -2588,7 +2588,7 @@ See also `locale-charset-language-names', `locale-language-names', ;; only). At least X and MS Windows can generate ;; multilingual input. ;; XXX This was disabled unless `window-system', but that - ;; leads to buggy behaviour when a tty frame is opened + ;; leads to buggy behavior when a tty frame is opened ;; later. Setting the keyboard coding system has no adverse ;; effect on X, so let's do it anyway. -- Lorentey (let ((kcs (or coding-system diff --git a/lisp/international/utf-7.el b/lisp/international/utf-7.el index e6f9d4f4c0..368a25d4c4 100644 --- a/lisp/international/utf-7.el +++ b/lisp/international/utf-7.el @@ -31,7 +31,7 @@ ;; implementation in Gnus, but has been substantially re-done. ;; This probably needs more attention. In particular, it's not -;; completely consistent with iconv's behaviour. It's arguable +;; completely consistent with iconv's behavior. It's arguable ;; whether the IMAP version should be a coding system since it's ;; apparently only used for IMAP mailbox names, so it's commented out. diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el index 8b15b0ede3..dfc58d4165 100644 --- a/lisp/iswitchb.el +++ b/lisp/iswitchb.el @@ -175,7 +175,7 @@ ;; iswitch for all buffer selections in Emacs, add: ;; (setq read-buffer-function 'iswitchb-read-buffer) ;; (This variable was introduced in Emacs 20.3.) -;; XEmacs users can get the same behaviour by doing: +;; XEmacs users can get the same behavior by doing: ;; (defalias 'read-buffer 'iswitchb-read-buffer) ;; since `read-buffer' is defined in lisp. @@ -212,7 +212,7 @@ ;; iswitchb-mode-map "\C-o" ;; 'iswitchb-exclude-nonmatching))) -;; Other lisp packages extend iswitchb behaviour to other tasks. See +;; Other lisp packages extend iswitchb behavior to other tasks. See ;; ido.el (by Kim Storm) and mcomplete.el (Yuji Minejima). ;; Window managers: Switching frames/focus follows mouse; Sawfish. diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el index f92de4291d..c99b2a22d3 100644 --- a/lisp/mail/mailabbrev.el +++ b/lisp/mail/mailabbrev.el @@ -115,7 +115,7 @@ ;; If you want multiple addresses separated by a string other than ", " then ;; you can set the variable mail-alias-separator-string to it. This has to ;; be a comma bracketed by whitespace if you want any kind of reasonable -;; behaviour. +;; behavior. ;; ;; Thanks to Harald Hanche-Olsen, Michael Ernst, David Loeffler, and ;; Noah Friedman for suggestions and bug reports. diff --git a/lisp/mail/mspools.el b/lisp/mail/mspools.el index cbbe3bea30..5c5c86fbc2 100644 --- a/lisp/mail/mspools.el +++ b/lisp/mail/mspools.el @@ -103,7 +103,7 @@ ;; Rather than showing size in bytes, could we see the number of msgs ;; waiting? (Could be more time demanding / system dependent). ;; Maybe just call a perl script to do all the hard work, and -;; visualise the results in the buffer. +;; visualize the results in the buffer. ;; Shrink wrap the buffer to remove excess white-space? diff --git a/lisp/man.el b/lisp/man.el index 229365033a..353a903299 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -74,7 +74,7 @@ ;; ============= TODO =========== ;; - Add a command for printing. -;; - The awk script deletes multiple blank lines. This behaviour does +;; - The awk script deletes multiple blank lines. This behavior does ;; not allow to understand if there was indeed a blank line at the ;; end or beginning of a page (after the header, or before the ;; footer). A different algorithm should be used. It is easy to diff --git a/lisp/mouse-sel.el b/lisp/mouse-sel.el index b1a7dcb33c..4991502687 100644 --- a/lisp/mouse-sel.el +++ b/lisp/mouse-sel.el @@ -113,14 +113,14 @@ ;; * I like to leave point at the end of the region nearest to where the ;; mouse was, even though this makes region highlighting mis-leading (the ;; cursor makes it look like one extra character is selected). You can -;; disable this behaviour with: +;; disable this behavior with: ;; ;; (setq mouse-sel-leave-point-near-mouse nil) ;; ;; * By default, mouse-select cycles the click count after 4 clicks. That ;; is, clicking mouse-1 five times has the same effect as clicking it ;; once, clicking six times has the same effect as clicking twice, etc. -;; Disable this behaviour with: +;; Disable this behavior with: ;; ;; (setq mouse-sel-cycle-clicks nil) ;; diff --git a/lisp/mouse.el b/lisp/mouse.el index 524d45271a..ffdfb86dac 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -1110,7 +1110,7 @@ If DIR is positive skip forward; if negative, skip backward." ;; Here, we can't use skip-syntax-forward/backward because ;; they don't pay attention to word-separating-categories, ;; and thus they will skip over a true word boundary. So, - ;; we simulate the original behaviour by using forward-word. + ;; we simulate the original behavior by using forward-word. (if (< dir 0) (if (not (looking-at "\\<")) (forward-word -1)) diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 55c7426191..5eb96c0b5d 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -28,7 +28,7 @@ ;; communication in discussion forums called channels, but also allows ;; one-to-one communication. -;; Rcirc has simple defaults and clear and consistent behaviour. +;; Rcirc has simple defaults and clear and consistent behavior. ;; Message arrival timestamps, activity notification on the modeline, ;; message filling, nick completion, and keepalive pings are all ;; enabled by default, but can easily be adjusted or turned off. Each diff --git a/lisp/nxml/nxml-ns.el b/lisp/nxml/nxml-ns.el index 7fb6d0e487..1c7068faf2 100644 --- a/lisp/nxml/nxml-ns.el +++ b/lisp/nxml/nxml-ns.el @@ -71,7 +71,7 @@ are inherited from the parent state." (setq nxml-ns-state (cons (car nxml-ns-state) nxml-ns-state))) (defun nxml-ns-pop-state () - "Change the state by ending an element. The behaviour is undefined + "Change the state by ending an element. The behavior is undefined if there is no open element." (setq nxml-ns-state (cdr nxml-ns-state))) diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index 15cce1412d..6e5dee5130 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el @@ -635,7 +635,7 @@ Can be overridden by the value of `font-lock-maximum-decoration'.") (modify-syntax-entry ?= "." table) (modify-syntax-entry ?* "." table) (modify-syntax-entry ?/ "." table) - ;; I think that the f95 standard leaves the behaviour of \ + ;; I think that the f95 standard leaves the behavior of \ ;; unspecified, but that f2k will require it to be non-special. ;; Use `f90-backslash-not-special' to change. (modify-syntax-entry ?\\ "\\" table) ; escape chars diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index fdbb6e3e2d..55427eef71 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el @@ -408,7 +408,7 @@ following: special character treatment by font-lock and imenu. ") -;; misc customization of sql.el behaviour +;; misc customization of sql.el behavior (defcustom sql-electric-stuff nil "Treat some input as electric. diff --git a/lisp/tempo.el b/lisp/tempo.el index b44605a9be..dc47193d50 100644 --- a/lisp/tempo.el +++ b/lisp/tempo.el @@ -82,7 +82,7 @@ ;; If the 'o is the first element in a template, strange things can ;; happen when the template is inserted at the beginning of a -;; line. This is due to strange behaviour in open-line. But it should +;; line. This is due to strange behavior in open-line. But it should ;; be easily avoided. ;; The 'o tag is also a problem when including the region. This will diff --git a/lisp/term/internal.el b/lisp/term/internal.el index 658307d395..59b25864f6 100644 --- a/lisp/term/internal.el +++ b/lisp/term/internal.el @@ -27,7 +27,7 @@ ;; --------------------------------------------------------------------------- ;; keyboard setup -- that's simple! (set-input-mode nil nil 0) -(define-key local-function-key-map [backspace] "\177") ; Normal behaviour for BS +(define-key local-function-key-map [backspace] "\177") ; Normal behavior for BS (define-key local-function-key-map [delete] "\C-d") ; ... and Delete (define-key local-function-key-map [tab] [?\t]) (define-key local-function-key-map [linefeed] [?\n]) diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index a82dd905ed..7eca907bc2 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el @@ -1014,9 +1014,9 @@ REVERSE-DIRECTION is used to reverse the cycling order." Adjust/rotate the section decoration for the section title around point or promote/demote the decorations inside the region, depending on if the region is active. This function is meant to -be invoked possibly multiple times, and can vary its behaviour +be invoked possibly multiple times, and can vary its behavior with a positive prefix argument (toggle style), or with a -negative prefix argument (alternate behaviour). +negative prefix argument (alternate behavior). This function is the main focus of this module and is a bit of a swiss knife. It is meant as the single most essential function @@ -1079,7 +1079,7 @@ decoration.") "Adjust/rotate the section decoration for the section title around point. This function is meant to be invoked possibly multiple times, and -can vary its behaviour with a true TOGGLE-STYLE argument, or with +can vary its behavior with a true TOGGLE-STYLE argument, or with a REVERSE-DIRECTION argument. General Behaviour diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index d0a56c6b89..5994e0909f 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1444,7 +1444,7 @@ needed. I should use my brain sometime. * lisp/url-vars.el (and): Fix feature test for xemacs and - coding-system-list behaviour. + coding-system-list behavior. * lisp/url-http.el (url-http-chunked-encoding-after-change-function): Add optional diff --git a/lisp/vcursor.el b/lisp/vcursor.el index 2009eb9ffd..4f5ebf8d8a 100644 --- a/lisp/vcursor.el +++ b/lisp/vcursor.el @@ -30,7 +30,7 @@ ;; - *IMPORTANT* vcursor-key-bindings is now nil by default, to avoid ;; side-effects when the package is loaded. This means no keys are ;; bound by default. Use customize to change it to t to restore -;; the old behaviour. (If you do it by hand in .emacs, it +;; the old behavior. (If you do it by hand in .emacs, it ;; must come before vcursor is loaded.) ;; - You can alter the main variables and the vcursor face via ;; M-x customize: go to the Editing group and find Vcursor. @@ -52,7 +52,7 @@ ;; Virtual cursor commands. I got this idea from the old BBC micro. ;; You need Emacs 19 or 20 and a window system for the best effects. ;; For character terminals, at least Emacs 19.29 is required -;; (special behaviour for the overlay property +;; (special behavior for the overlay property ;; "before-string" must be implemented). Search for "dumb terminals" ;; for more information. ;; @@ -104,7 +104,7 @@ ;; In the "on" state, moving the virtual cursor will copy the ;; moved-over text to the normal cursor position (including when going ;; backwards, though each piece of text moved over is copied forwards: -;; compare the behaviour of C-S-up and C-S-left). +;; compare the behavior of C-S-up and C-S-left). ;; ;; However, that's just a small part of the magic. If the virtual ;; cursor goes off the display, it will be redisplayed in some other diff --git a/lisp/woman.el b/lisp/woman.el index faf0a1c179..685304e979 100644 --- a/lisp/woman.el +++ b/lisp/woman.el @@ -109,7 +109,7 @@ ;; (By default, WoMan will automatically define the dired keys "W" and ;; "w" when it loads, but only if they are not already defined. This -;; behaviour is controlled by the user option `woman-dired-keys'. +;; behavior is controlled by the user option `woman-dired-keys'. ;; Note that the `dired-x' (dired extra) package binds ;; `dired-copy-filename-as-kill' to the key "w" (as pointed out by Jim ;; Davidson), although "W" appears to be really unused. The `dired-x' diff --git a/nt/cmdproxy.c b/nt/cmdproxy.c index edf7b36467..b78bdd994f 100644 --- a/nt/cmdproxy.c +++ b/nt/cmdproxy.c @@ -341,7 +341,7 @@ console_event_handler (DWORD event) case CTRL_BREAK_EVENT: if (!interactive) { - /* Both command.com and cmd.exe have the annoying behaviour of + /* Both command.com and cmd.exe have the annoying behavior of prompting "Terminate batch job (y/n)?" when interrupted while running a batch file, even if running in non-interactive (-c) mode. Try to make up for this diff --git a/src/ChangeLog.10 b/src/ChangeLog.10 index e166cdeb3e..76029bd44f 100644 --- a/src/ChangeLog.10 +++ b/src/ChangeLog.10 @@ -5561,7 +5561,7 @@ 2006-01-26 Lőrentey Károly - * editfns.c (Fconstrain_to_field): Fix behaviour on field boundaries. + * editfns.c (Fconstrain_to_field): Fix behavior on field boundaries. (find_field): Set before_field to after_field when pos is at BEGV. (Fline_beginning_position, Fline_end_position): Clarify confusing doc string. @@ -11188,7 +11188,7 @@ 2004-12-23 Jason Rumney - * image.c (__WIN32__) [HAVE_NTGUI]: Define for correct behaviour + * image.c (__WIN32__) [HAVE_NTGUI]: Define for correct behavior of JPEG library. 2004-12-22 Richard M. Stallman @@ -16570,7 +16570,7 @@ Use non-text cursor when mouse pointer is outside editable text, i.e. in the void after end-of-line or end-of-buffer; this was already done for W32, but is now standard for all systems -- - user can toggle show-text-cursor-in-void to get old behaviour. + user can toggle show-text-cursor-in-void to get old behavior. (syms_of_xdisp): DEFVAR_LISP Vshow_text_cursor_in_void and Vdisplay_pixels_per_inch. @@ -20827,7 +20827,7 @@ 2003-01-13 Francesco Potortì * fileio.c (Fdelete_directory, Fdelete_file): Document the - behaviour in front of symlinks. + behavior in front of symlinks. (Fdelete_file): Raise an error on directories. 2003-01-13 Dave Love diff --git a/src/ChangeLog.3 b/src/ChangeLog.3 index be24f9c8b0..fbd3dfc869 100644 --- a/src/ChangeLog.3 +++ b/src/ChangeLog.3 @@ -12709,7 +12709,7 @@ free_screen_glyphs now takes screen argument. * window.c (Fnext_window, Fprevious_window): Fixed typo. New - behaviour: mini non-nil implies all_screens if global mini screen + behavior: mini non-nil implies all_screens if global mini screen exists, implies current screen only if not. (Fdisplay_buffer): Simplification of multi-screen code. diff --git a/src/ChangeLog.4 b/src/ChangeLog.4 index b83aa2d06a..826e5e406d 100644 --- a/src/ChangeLog.4 +++ b/src/ChangeLog.4 @@ -4274,7 +4274,7 @@ * systty.h (EMACS_GETPGRP): New macro hides argument passing to system getpgrp. Reinstate some semblance of control over this - macros behaviour by paying attention to GETPGRP_NO_ARG. + macros behavior by paying attention to GETPGRP_NO_ARG. * sysdep.c (sys_suspend): Use EMACS_GETPGRP macro. * emacs.c (main): Use EMACS_GETPGRP macro. (shut_down_emacs): Use EMACS_GETPGRP macro. diff --git a/src/ChangeLog.6 b/src/ChangeLog.6 index bc97cd8464..ce56be659a 100644 --- a/src/ChangeLog.6 +++ b/src/ChangeLog.6 @@ -1578,7 +1578,7 @@ * msdos.c (check_timer): Removed; use gettime instead. (sys_select): Call __dpmi_yield while waiting for input to - improve multitasking behaviour. + improve multitasking behavior. Do not check timer when no timeout. 1996-04-16 Richard Stallman diff --git a/src/ChangeLog.7 b/src/ChangeLog.7 index 8e5f480523..f02d38459e 100644 --- a/src/ChangeLog.7 +++ b/src/ChangeLog.7 @@ -124,7 +124,7 @@ 1998-08-13 Andrew Innes - * w32.c (stat): Fall-back to default behaviour when we cannot get + * w32.c (stat): Fall-back to default behavior when we cannot get accurate information on file attributes. 1998-08-12 Richard Stallman @@ -3309,17 +3309,17 @@ 1998-02-19 Kenichi Handa - * buffer.c (advance_to_char_boundary): Make the behaviour + * buffer.c (advance_to_char_boundary): Make the behavior consistent with INC_POS. * ccl.c (Fccl_execute_on_string): Add new arg UNIBYTE-P. * charset.h (INC_POS): Use macro BASE_LEADING_CODE_P. - (DEC_POS): Make the behaviour consistent with INC_POS. + (DEC_POS): Make the behavior consistent with INC_POS. (BUF_INC_POS, BUF_DEC_POS): Likewise. * charset.c (invalid_character): New function. - (chars_in_text): Make the behaviour consistent with INC_POS. + (chars_in_text): Make the behavior consistent with INC_POS. (multibyte_chars_in_text): Likewise. (str_cmpchar_id): Likewise. (non_ascii_char_to_string): Call invalid_character. @@ -3368,7 +3368,7 @@ * search.c (search_buffer): Update POS_BYTE for regexp search. * xdisp.c (display_text_line): Handling of a wide-column character - fixed. Make the behaviour consistent with INC_POS. + fixed. Make the behavior consistent with INC_POS. 1998-02-18 Richard Stallman diff --git a/src/lread.c b/src/lread.c index 9e543f88fa..6415448c0b 100644 --- a/src/lread.c +++ b/src/lread.c @@ -2034,7 +2034,7 @@ read_escape (readcharfun, stringp) { register int c = READCHAR; /* \u allows up to four hex digits, \U up to eight. Default to the - behaviour for \u, and change this value in the case that \U is seen. */ + behavior for \u, and change this value in the case that \U is seen. */ int unicode_hex_count = 4; switch (c) diff --git a/src/w32.c b/src/w32.c index a9f50139ea..650c3d6bee 100644 --- a/src/w32.c +++ b/src/w32.c @@ -1265,7 +1265,7 @@ init_environment (char ** argv) profile_result = get_folder_path (NULL, CSIDL_APPDATA, NULL, 0, default_home); - /* If we can't get the appdata dir, revert to old behaviour. */ + /* If we can't get the appdata dir, revert to old behavior. */ if (profile_result == S_OK) env_vars[0].def_value = default_home; } @@ -2514,7 +2514,7 @@ sys_rename (const char * oldname, const char * newname) return -1; } - /* Emulate Unix behaviour - newname is deleted if it already exists + /* Emulate Unix behavior - newname is deleted if it already exists (at least if it is a file; don't do this for directories). Since we mustn't do this if we are just changing the case of the diff --git a/src/w32fns.c b/src/w32fns.c index 9a22601dbd..df229789d5 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -6841,7 +6841,7 @@ Value is t if tooltip was open, nil otherwise. */) ***********************************************************************/ extern Lisp_Object Qfile_name_history; -/* Callback for altering the behaviour of the Open File dialog. +/* Callback for altering the behavior of the Open File dialog. Makes the Filename text field contain "Current Directory" and be read-only when "Directories" is selected in the filter. This allows us to work around the fact that the standard Open File diff --git a/src/w32inevt.c b/src/w32inevt.c index 460565d61c..54d958f166 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c @@ -154,7 +154,7 @@ w32_kbd_mods_to_emacs (DWORD mods, WORD key) if (mods & SCROLLLOCK_ON) retval |= w32_key_to_modifier (VK_SCROLL); - /* Just in case someone wanted the original behaviour, make it + /* Just in case someone wanted the original behavior, make it optional by setting w32-capslock-is-shiftlock to t. */ if (NILP (Vw32_capslock_is_shiftlock) /* Keys that should _not_ be affected by CapsLock. */ diff --git a/src/w32proc.c b/src/w32proc.c index 91722df87a..33981445c7 100644 --- a/src/w32proc.c +++ b/src/w32proc.c @@ -71,7 +71,7 @@ extern BOOL WINAPI IsValidLocale(LCID, DWORD); /* Control whether spawnve quotes arguments as necessary to ensure correct parsing by child process. Because not all uses of spawnve - are careful about constructing argv arrays, we make this behaviour + are careful about constructing argv arrays, we make this behavior conditional (off by default). */ Lisp_Object Vw32_quote_process_args; @@ -973,7 +973,7 @@ sys_spawnve (int mode, char *cmdname, char **argv, char **envp) #if 0 /* This version does not escape quotes if they occur at the beginning or end of the arg - this could lead to incorrect - behaviour when the arg itself represents a command line + behavior when the arg itself represents a command line containing quoted args. I believe this was originally done as a hack to make some things work, before `w32-quote-process-args' was added. */ diff --git a/src/w32term.c b/src/w32term.c index 28861eea90..52c78b0558 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -5401,7 +5401,7 @@ x_set_window_size (f, change_gravity, cols, rows) resize will happen asynchronously. But on Windows, the menu bar automatically wraps when the frame is too narrow to contain it, and that causes any calculations made here to come out wrong. The - end is some nasty buggy behaviour, including the potential loss + end is some nasty buggy behavior, including the potential loss of the minibuffer. Disabling this code is either not sufficient to fix the problems @@ -5524,9 +5524,9 @@ x_raise_frame (f) BLOCK_INPUT; /* Strictly speaking, raise-frame should only change the frame's Z - order, leaving input focus unchanged. This is reasonable behaviour + order, leaving input focus unchanged. This is reasonable behavior on X where the usual policy is point-to-focus. However, this - behaviour would be very odd on Windows where the usual policy is + behavior would be very odd on Windows where the usual policy is click-to-focus. On X, if the mouse happens to be over the raised frame, it gets -- 2.20.1