1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-29 07:58:21 +00:00

Fix "it's" typos

* lisp/ob-C.el (org-babel-expand-body:cpp):
(org-babel-expand-body:C++):
(org-babel-expand-body:D):
(org-babel-expand-body:C):
(org-babel-C-expand-C++):
(org-babel-C-expand-C):
(org-babel-C-expand-D):
* lisp/ob-exp.el (org-babel-exp-src-block):
* lisp/ob-fortran.el (org-babel-expand-body:fortran):
* testing/org-test.el (org-test-buffer):
Correct "it's" typo in docstring.

* doc/org.texi:
Correct "it's" typos.
This commit is contained in:
Kyle Meyer 2016-02-03 23:33:28 -05:00
parent 34f3260370
commit 2fc29a1796
7 changed files with 15 additions and 15 deletions

View File

@ -12768,7 +12768,7 @@ height:width ratio, do the following
@cindex #+ATTR_ODT @cindex #+ATTR_ODT
You can control the manner in which an image is anchored by setting the You can control the manner in which an image is anchored by setting the
@code{:anchor} property of it's @code{#+ATTR_ODT} line. You can specify one @code{:anchor} property of its @code{#+ATTR_ODT} line. You can specify one
of the following three values for the @code{:anchor} property: of the following three values for the @code{:anchor} property:
@samp{"as-char"}, @samp{"paragraph"} and @samp{"page"}. @samp{"as-char"}, @samp{"paragraph"} and @samp{"page"}.
@ -12891,7 +12891,7 @@ You can label and caption various category of objects---an inline image, a
table, a @LaTeX{} fragment or a Math formula---using @code{#+LABEL} and table, a @LaTeX{} fragment or a Math formula---using @code{#+LABEL} and
@code{#+CAPTION} lines. @xref{Images and tables}. ODT exporter enumerates @code{#+CAPTION} lines. @xref{Images and tables}. ODT exporter enumerates
each labeled or captioned object of a given category separately. As a each labeled or captioned object of a given category separately. As a
result, each such object is assigned a sequence number based on order of it's result, each such object is assigned a sequence number based on order of its
appearance in the Org file. appearance in the Org file.
In the exported document, a user-provided caption is augmented with the In the exported document, a user-provided caption is augmented with the

View File

@ -81,7 +81,7 @@ This function calls `org-babel-execute:C++'."
(org-babel-execute:C++ body params)) (org-babel-execute:C++ body params))
(defun org-babel-expand-body:cpp (body params) (defun org-babel-expand-body:cpp (body params)
"Expand a block of C++ code with org-babel according to it's "Expand a block of C++ code with org-babel according to its
header arguments." header arguments."
(org-babel-expand-body:C++ body params)) (org-babel-expand-body:C++ body params))
@ -91,7 +91,7 @@ This function is called by `org-babel-execute-src-block'."
(let ((org-babel-c-variant 'cpp)) (org-babel-C-execute body params))) (let ((org-babel-c-variant 'cpp)) (org-babel-C-execute body params)))
(defun org-babel-expand-body:C++ (body params) (defun org-babel-expand-body:C++ (body params)
"Expand a block of C++ code with org-babel according to it's "Expand a block of C++ code with org-babel according to its
header arguments." header arguments."
(let ((org-babel-c-variant 'cpp)) (org-babel-C-expand-C++ body params))) (let ((org-babel-c-variant 'cpp)) (org-babel-C-expand-C++ body params)))
@ -101,7 +101,7 @@ This function is called by `org-babel-execute-src-block'."
(let ((org-babel-c-variant 'd)) (org-babel-C-execute body params))) (let ((org-babel-c-variant 'd)) (org-babel-C-execute body params)))
(defun org-babel-expand-body:D (body params) (defun org-babel-expand-body:D (body params)
"Expand a block of D code with org-babel according to it's "Expand a block of D code with org-babel according to its
header arguments." header arguments."
(let ((org-babel-c-variant 'd)) (org-babel-C-expand-D body params))) (let ((org-babel-c-variant 'd)) (org-babel-C-expand-D body params)))
@ -111,7 +111,7 @@ This function is called by `org-babel-execute-src-block'."
(let ((org-babel-c-variant 'c)) (org-babel-C-execute body params))) (let ((org-babel-c-variant 'c)) (org-babel-C-execute body params)))
(defun org-babel-expand-body:C (body params) (defun org-babel-expand-body:C (body params)
"Expand a block of C code with org-babel according to it's "Expand a block of C code with org-babel according to its
header arguments." header arguments."
(let ((org-babel-c-variant 'c)) (org-babel-C-expand-C body params))) (let ((org-babel-c-variant 'c)) (org-babel-C-expand-C body params)))
@ -175,12 +175,12 @@ or `org-babel-execute:C++' or `org-babel-execute:D'."
(defun org-babel-C-expand-C++ (body params) (defun org-babel-C-expand-C++ (body params)
"Expand a block of C or C++ code with org-babel according to "Expand a block of C or C++ code with org-babel according to
it's header arguments." its header arguments."
(org-babel-C-expand-C body params)) (org-babel-C-expand-C body params))
(defun org-babel-C-expand-C (body params) (defun org-babel-C-expand-C (body params)
"Expand a block of C or C++ code with org-babel according to "Expand a block of C or C++ code with org-babel according to
it's header arguments." its header arguments."
(let ((vars (mapcar #'cdr (org-babel-get-header params :var))) (let ((vars (mapcar #'cdr (org-babel-get-header params :var)))
(colnames (cdar (org-babel-get-header params :colname-names))) (colnames (cdar (org-babel-get-header params :colname-names)))
(main-p (not (string= (cdr (assoc :main params)) "no"))) (main-p (not (string= (cdr (assoc :main params)) "no")))
@ -229,7 +229,7 @@ it's header arguments."
(defun org-babel-C-expand-D (body params) (defun org-babel-C-expand-D (body params)
"Expand a block of D code with org-babel according to "Expand a block of D code with org-babel according to
it's header arguments." its header arguments."
(let ((vars (mapcar #'cdr (org-babel-get-header params :var))) (let ((vars (mapcar #'cdr (org-babel-get-header params :var)))
(colnames (cdar (org-babel-get-header params :colname-names))) (colnames (cdar (org-babel-get-header params :colname-names)))
(main-p (not (string= (cdr (assoc :main params)) "no"))) (main-p (not (string= (cdr (assoc :main params)) "no")))

View File

@ -108,7 +108,7 @@ code ---- the default, display the code inside the block but do
not process not process
results - just like none only the block is run on export ensuring results - just like none only the block is run on export ensuring
that it's results are present in the org-mode buffer that its results are present in the org-mode buffer
none ---- do not display either code or results upon export none ---- do not display either code or results upon export

View File

@ -79,7 +79,7 @@
(defun org-babel-expand-body:fortran (body params) (defun org-babel-expand-body:fortran (body params)
"Expand a block of fortran or fortran code with org-babel according to "Expand a block of fortran or fortran code with org-babel according to
it's header arguments." its header arguments."
(let ((vars (mapcar #'cdr (org-babel-get-header params :var))) (let ((vars (mapcar #'cdr (org-babel-get-header params :var)))
(main-p (not (string= (cdr (assoc :main params)) "no"))) (main-p (not (string= (cdr (assoc :main params)) "no")))
(includes (or (cdr (assoc :includes params)) (includes (or (cdr (assoc :includes params))

View File

@ -3404,7 +3404,7 @@ contextual information."
(when (org-export-table-cell-starts-colgroup-p (when (org-export-table-cell-starts-colgroup-p
table-cell info) table-cell info)
"\n<colgroup>") "\n<colgroup>")
;; Add a column. Also specify it's alignment. ;; Add a column. Also specify its alignment.
(format "\n%s" (format "\n%s"
(org-html-close-tag (org-html-close-tag
"col" (concat " " (format alignspec alignment)) info)) "col" (concat " " (format alignspec alignment)) info))

View File

@ -48,7 +48,7 @@ Current buffer is a copy of the original buffer."
(org-export-to-file 'html html-file)) (org-export-to-file 'html html-file))
;; should create a .html file ;; should create a .html file
(should (file-exists-p html-file)) (should (file-exists-p html-file))
;; should not create a file with "::" appended to it's name ;; should not create a file with "::" appended to its name
(should-not (file-exists-p (concat org-test-no-heading-file "::"))) (should-not (file-exists-p (concat org-test-no-heading-file "::")))
(when (file-exists-p html-file) (delete-file html-file)))) (when (file-exists-p html-file) (delete-file html-file))))
@ -77,7 +77,7 @@ Current buffer is a copy of the original buffer."
(org-export-to-file 'html html-file)) (org-export-to-file 'html html-file))
;; should create a .html file ;; should create a .html file
(should (file-exists-p html-file)) (should (file-exists-p html-file))
;; should not create a file with "::" appended to it's name ;; should not create a file with "::" appended to its name
(should-not (file-exists-p (concat org-test-link-in-heading-file "::"))) (should-not (file-exists-p (concat org-test-link-in-heading-file "::")))
(when (file-exists-p html-file) (delete-file html-file)))) (when (file-exists-p html-file) (delete-file html-file))))

View File

@ -134,7 +134,7 @@ executable."
(defun org-test-buffer (&optional file) (defun org-test-buffer (&optional file)
"TODO: Setup and return a buffer to work with. "TODO: Setup and return a buffer to work with.
If file is non-nil insert it's contents in there.") If file is non-nil insert its contents in there.")
(defun org-test-compare-with-file (&optional file) (defun org-test-compare-with-file (&optional file)
"TODO: Compare the contents of the test buffer with FILE. "TODO: Compare the contents of the test buffer with FILE.