From 215d80d02bce8c9f17de844694b98cd5e5624196 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 16 Sep 2021 14:40:12 -0700 Subject: [PATCH] Fix a small number of typos --- doc/org-manual.org | 4 ++-- etc/ORG-NEWS | 2 +- lisp/ob-java.el | 2 +- lisp/org-plot.el | 6 +++--- lisp/org.el | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 61b743346..249a2f7d9 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -13880,7 +13880,7 @@ The LaTeX export back-end converts horizontal rules by the specified The LaTeX export back-end accepts four attributes for verse blocks: =:lines=, =:center=, =:versewidth= and =:latexcode=. The three first -require the external LaTeX package =verse.sty=, wich is an extension +require the external LaTeX package =verse.sty=, which is an extension of the standard LaTeX environment. The purpose of these attributes is explained below. @@ -13904,7 +13904,7 @@ A complete example with Shakespeare's first sonnet: From fairest creatures we desire increase, That thereby beauty’s rose might never die, But as the riper should by time decrease, -His tender heir mught bear his memeory: +His tender heir mught bear his memory: But thou, contracted to thine own bright eyes, Feed’st thy light’st flame with self-substantial fuel, Making a famine where abundance lies, diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 83a67da96..ad6cfa3f7 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -253,7 +253,7 @@ that Org mode configures LaTeX to process any new float type. The LaTeX export back-end accepts four attributes for verse blocks: =:lines=, =:center=, =:versewidth= and =:latexcode=. The three first -require the external LaTeX package =verse.sty=, wich is an extension +require the external LaTeX package =verse.sty=, which is an extension of the standard LaTeX environment. The purpose of these attributes is explained below. diff --git a/lisp/ob-java.el b/lisp/ob-java.el index 54d909061..c93c65b7f 100644 --- a/lisp/ob-java.el +++ b/lisp/ob-java.el @@ -472,7 +472,7 @@ If RESULT-TYPE equals `output' then return standard output as a string. If RESULT-TYPE equals `value' then return the value returned by the source block, as elisp. -RESULT-PARAMS input params used to format the reponse. +RESULT-PARAMS input params used to format the response. RESULT-FILE filename of the tempfile to store the returned value in for `value' RESULT-TYPE. Not used for `output' RESULT-TYPE." diff --git a/lisp/org-plot.el b/lisp/org-plot.el index 0e5032b48..be599b02d 100644 --- a/lisp/org-plot.el +++ b/lisp/org-plot.el @@ -230,7 +230,7 @@ If HARD-MIN and HARD-MAX can be used to fix the ends of the axis." (defun org--plot/nice-frequency-pick (frequencies) "From a list of FREQUENCIES, try to sensibly pick a sample of the most frequent." - ;; TODO this mosly works decently, but counld do with some tweaking to work more consistently. + ;; TODO this mosly works decently, but could do with some tweaking to work more consistently. (cl-case (length frequencies) (1 (list (car (nth 0 frequencies)))) (2 (if (<= 3 (/ (cdr (nth 0 frequencies)) @@ -354,7 +354,7 @@ the argument, and must return a string to be used." (radar :plot-func (lambda (table _data-file _num-cols params plot-str) (list (org--plot/radar table params))))) - "List of plists describing the avalible plot types. + "List of plists describing the available plot types. The car is the type name, and the property :plot-func must be set. The value of :plot-func is a lambda which yields plot-lines \(a list of strings) as the cdr. @@ -405,7 +405,7 @@ set angles degree set key bmargin center horizontal unset border -# Load data and settup +# Load data and setup load \"%s\" # General settings diff --git a/lisp/org.el b/lisp/org.el index c265a34a6..8b9d57157 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8857,7 +8857,7 @@ If the file does not exist, throw an error." (save-window-excursion (message "Running %s...done" cmd) ;; Handlers such as "gio open" and kde-open5 start viewer in background - ;; and exit immediately. Use pipe connnection type instead of pty to + ;; and exit immediately. Use pipe connection type instead of pty to ;; avoid killing children processes with SIGHUP when temporary terminal ;; session is finished. ;;