diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-11-30 16:59:41 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-11-30 16:59:41 +0100 |
commit | 8617edfffd07eb80561b4de6a37c5b0b5f442e07 (patch) | |
tree | 4f3b03efc440aab647588b598d9c039131663b48 /lisp/org/ob-tangle.el | |
parent | 646f2cf67e0b1147478f6cc8be2ac525082de714 (diff) | |
download | emacs-8617edfffd07eb80561b4de6a37c5b0b5f442e07.tar.gz |
; Fix typos
Diffstat (limited to 'lisp/org/ob-tangle.el')
-rw-r--r-- | lisp/org/ob-tangle.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org/ob-tangle.el b/lisp/org/ob-tangle.el index e86f4e52860..bd17bda32ba 100644 --- a/lisp/org/ob-tangle.el +++ b/lisp/org/ob-tangle.el @@ -339,7 +339,7 @@ matching a regular expression." (defun org-babel-interpret-file-mode (mode) "Determine the integer representation of a file MODE specification. -The following forms are currently recognised: +The following forms are currently recognized: - an integer (returned without modification) - \"o755\" (chmod style octal) - \"rwxrw-r--\" (ls style specification) @@ -354,7 +354,7 @@ The following forms are currently recognised: (user-error "%1$o is not a valid file mode octal. \ Did you give the decimal value %1$d by mistake?" mode))) ((not (stringp mode)) - (error "File mode %S not recognised as a valid format." mode)) + (error "File mode %S not recognized as a valid format." mode)) ((string-match-p "^o0?[0-7][0-7][0-7]$" mode) (string-to-number (replace-regexp-in-string "^o" "" mode) 8)) ((string-match-p "^[ugoa]*\\(?:[+-=][rwxXstugo]*\\)+\\(,[ugoa]*\\(?:[+-=][rwxXstugo]*\\)+\\)*$" mode) @@ -365,7 +365,7 @@ Did you give the decimal value %1$d by mistake?" mode))) ",g=" (substring mode 3 6) ",o=" (substring mode 6 9)) 0)) - (t (error "File mode %S not recognised as a valid format. See `org-babel-interpret-file-mode'." mode)))) + (t (error "File mode %S not recognized as a valid format. See `org-babel-interpret-file-mode'." mode)))) (defun org-babel-tangle-clean () "Remove comments inserted by `org-babel-tangle'. |