From 7aa506eed8881788485a9774165454404bac2623 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 25 Dec 2014 18:07:15 -0800 Subject: [PATCH] Spelling fixes --- doc/emacs/building.texi | 2 +- lisp/net/tramp.el | 2 +- lisp/org/org-ctags.el | 8 ++++---- lisp/org/ox-html.el | 2 +- lisp/org/ox-latex.el | 2 +- lisp/org/ox-publish.el | 2 +- lisp/org/ox.el | 6 +++--- lisp/textmodes/tex-mode.el | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi index e0ed11ff862..e1993e5ed30 100644 --- a/doc/emacs/building.texi +++ b/doc/emacs/building.texi @@ -1358,7 +1358,7 @@ searches through each directory in the Emacs Lisp load path, trying to find a file matching that library name. If the library name is @samp{@var{foo}}, it tries looking for files named @file{@var{foo}.elc}, @file{@var{foo}.el}, and @file{@var{foo}}. The -default behaviour is to load the first file found. This command +default behavior is to load the first file found. This command prefers @file{.elc} files over @file{.el} files because compiled files load and run faster. If it finds that @file{@var{lib}.el} is newer than @file{@var{lib}.elc}, it issues a warning, in case someone made diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 66c9508f6e3..ce0745c481c 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -3614,7 +3614,7 @@ for process communication also." (with-current-buffer (process-buffer proc) ;; FIXME: If there is a gateway process, we need communication ;; between several processes. Too complicate to implement, so we - ;; read output from all proceeses. + ;; read output from all processes. (let ((p (if (tramp-get-connection-property proc "gateway" nil) nil proc)) buffer-read-only last-coding-system-used) ;; Under Windows XP, accept-process-output doesn't return diff --git a/lisp/org/org-ctags.el b/lisp/org/org-ctags.el index 41775bdab6d..faf543be1b5 100644 --- a/lisp/org/org-ctags.el +++ b/lisp/org/org-ctags.el @@ -63,19 +63,19 @@ ;; with the same name as the link; then, if unsuccessful, ask the user if ;; he/she wants to rebuild the 'TAGS' database and try again; then ask if ;; the user wishes to append 'tag' as a new toplevel heading at the end of -;; the buffer; and finally, defer to org's default behaviour which is to +;; the buffer; and finally, defer to org's default behavior which is to ;; search the entire text of the current buffer for 'tag'. ;; -;; This behaviour can be modified by changing the value of +;; This behavior can be modified by changing the value of ;; ORG-CTAGS-OPEN-LINK-FUNCTIONS. For example I have the following in my -;; .emacs, which describes the same behaviour as the above paragraph with +;; .emacs, which describes the same behavior as the above paragraph with ;; one difference: ;; ;; (setq org-ctags-open-link-functions ;; '(org-ctags-find-tag ;; org-ctags-ask-rebuild-tags-file-then-find-tag ;; org-ctags-ask-append-topic -;; org-ctags-fail-silently)) ; <-- prevents org default behaviour +;; org-ctags-fail-silently)) ; <-- prevents org default behavior ;; ;; ;; Usage diff --git a/lisp/org/ox-html.el b/lisp/org/ox-html.el index 23498b26924..454061de96c 100644 --- a/lisp/org/ox-html.el +++ b/lisp/org/ox-html.el @@ -581,7 +581,7 @@ The function must accept two parameters: The function should return the string to be exported. For example, the variable could be set to the following function -in order to mimic default behaviour: +in order to mimic default behavior: The default value simply returns the value of CONTENTS." :group 'org-export-html diff --git a/lisp/org/ox-latex.el b/lisp/org/ox-latex.el index 2c71f7d785a..f6f3b220b43 100644 --- a/lisp/org/ox-latex.el +++ b/lisp/org/ox-latex.el @@ -589,7 +589,7 @@ The function must accept six parameters: The function should return the string to be exported. For example, the variable could be set to the following function -in order to mimic default behaviour: +in order to mimic default behavior: \(defun org-latex-format-inlinetask \(todo type priority name tags contents\) \"Format an inline task element for LaTeX export.\" diff --git a/lisp/org/ox-publish.el b/lisp/org/ox-publish.el index efc70d22a83..b33ba459877 100644 --- a/lisp/org/ox-publish.el +++ b/lisp/org/ox-publish.el @@ -228,7 +228,7 @@ If you create a site-map file, adjust the sorting like this: `:sitemap-sort-files' The site map is normally sorted alphabetically. You can - change this behaviour setting this to `anti-chronologically', + change this behavior setting this to `anti-chronologically', `chronologically', or nil. `:sitemap-ignore-case' diff --git a/lisp/org/ox.el b/lisp/org/ox.el index 1327ae409ed..2b0978dfdf0 100644 --- a/lisp/org/ox.el +++ b/lisp/org/ox.el @@ -493,7 +493,7 @@ t Allow export of math snippets." "The last level which is still exported as a headline. Inferior levels will usually produce itemize or enumerate lists -when exported, but back-end behaviour may differ. +when exported, but back-end behavior may differ. This option can also be set with the OPTIONS keyword, e.g. \"H:2\"." @@ -1736,13 +1736,13 @@ Assume buffer is in Org mode. Narrowing, if any, is ignored." (t ;; Options in `org-export-options-alist'. (dolist (property (funcall find-properties key)) - (let ((behaviour (nth 4 (assq property options)))) + (let ((behavior (nth 4 (assq property options)))) (setq plist (plist-put plist property ;; Handle value depending on specified ;; BEHAVIOR. - (case behaviour + (case behavior (space (if (not (plist-get plist property)) (org-trim val) diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index cb8f2ee4357..fad90473aae 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -1281,7 +1281,7 @@ inserts \" characters." ;; (if (or arg (memq (char-syntax (preceding-char)) '(?/ ?\\)) (eq (get-text-property (point) 'face) 'tex-verbatim) - ;; Discover if a preceding occurance of `tex-open-quote' + ;; Discover if a preceding occurrence of `tex-open-quote' ;; should be morphed to a normal double quote. ;; (and (>= (point) (+ (point-min) (length tex-open-quote))) @@ -1298,7 +1298,7 @@ inserts \" characters." ;; (self-insert-command (prefix-numeric-value arg)) ;; We'll be inserting fancy TeX quotes, but consider and imitate - ;; `electric-pair-mode''s two behaviours: pair-insertion and + ;; `electric-pair-mode''s two behaviors: pair-insertion and ;; region wrapping. ;; (if (and electric-pair-mode (use-region-p)) -- 2.39.2