Quellcode durchsuchen

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.
Kyle Meyer vor 9 Jahren
Ursprung
Commit
2fc29a1796
7 geänderte Dateien mit 15 neuen und 15 gelöschten Zeilen
  1. 2 2
      doc/org.texi
  2. 7 7
      lisp/ob-C.el
  3. 1 1
      lisp/ob-exp.el
  4. 1 1
      lisp/ob-fortran.el
  5. 1 1
      lisp/ox-html.el
  6. 2 2
      testing/lisp/test-ob-exp.el
  7. 1 1
      testing/org-test.el

+ 2 - 2
doc/org.texi

@@ -12768,7 +12768,7 @@ height:width ratio, do the following
 
 @cindex #+ATTR_ODT
 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:
 @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
 @code{#+CAPTION} lines.  @xref{Images and tables}.  ODT exporter enumerates
 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.
 
 In the exported document, a user-provided caption is augmented with the

+ 7 - 7
lisp/ob-C.el

@@ -81,7 +81,7 @@ This function calls `org-babel-execute:C++'."
   (org-babel-execute:C++ 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."
   (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)))
 
 (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."
   (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)))
 
 (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."
   (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)))
 
 (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."
   (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)
   "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))
 
 (defun org-babel-C-expand-C (body params)
   "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)))
 	(colnames (cdar (org-babel-get-header params :colname-names)))
 	(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)
   "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)))
 	(colnames (cdar (org-babel-get-header params :colname-names)))
 	(main-p (not (string= (cdr (assoc :main params)) "no")))

+ 1 - 1
lisp/ob-exp.el

@@ -108,7 +108,7 @@ code ---- the default, display the code inside the block but do
           not process
 
 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
 

+ 1 - 1
lisp/ob-fortran.el

@@ -79,7 +79,7 @@
 
 (defun org-babel-expand-body:fortran (body params)
   "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)))
         (main-p (not (string= (cdr (assoc :main params)) "no")))
         (includes (or (cdr (assoc :includes params))

+ 1 - 1
lisp/ox-html.el

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

+ 2 - 2
testing/lisp/test-ob-exp.el

@@ -48,7 +48,7 @@ Current buffer is a copy of the original buffer."
       (org-export-to-file 'html html-file))
     ;; should create a .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 "::")))
     (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))
     ;; should create a .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 "::")))
     (when (file-exists-p html-file) (delete-file html-file))))
 

+ 1 - 1
testing/org-test.el

@@ -134,7 +134,7 @@ executable."
 
 (defun org-test-buffer (&optional file)
   "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)
   "TODO:  Compare the contents of the test buffer with FILE.