From a017fca37f3539f953c10d48964c55dc092b4440 Mon Sep 17 00:00:00 2001 From: Osamu Okano Date: Tue, 1 Feb 2011 13:05:13 +0100 Subject: [PATCH] Various docstrings typo fixes by Osamu OKANO. --- doc/org.texi | 5 ++++- lisp/org-agenda.el | 8 ++++---- lisp/org-capture.el | 2 +- lisp/org-exp.el | 2 +- lisp/org-faces.el | 2 +- lisp/org.el | 4 ++-- 6 files changed, 13 insertions(+), 10 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index 19d2d1c72..d9f2e5e2f 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -819,7 +819,10 @@ Theory Ltd.} @cindex XEmacs @b{Important:} @i{If you are using a version of Org that is part of the Emacs -distribution or an XEmacs package, please skip this section and go directly to @ref{Activation}. To see what version of Org (if any) is part of your Emacs distribution, type @kbd{M-x load-library RET org} and then @kbd{M-x org-version}.} +distribution or an XEmacs package, please skip this section and go directly +to @ref{Activation}. To see what version of Org (if any) is part of your +Emacs distribution, type @kbd{M-x load-library RET org} and then @kbd{M-x +org-version}.} If you have downloaded Org from the Web, either as a distribution @file{.zip} or @file{.tar} file, or as a Git archive, you must take the following steps diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index b68fb6a55..bbe9d8a41 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -520,7 +520,7 @@ this one will be used." (defcustom org-agenda-skip-function-global nil "Function to be called at each match during agenda construction. If this function returns nil, the current match should not be skipped. -If the function decised to skip an agenda match, is must return the +If the function decided to skip an agenda match, is must return the buffer position from which the search should be continued. This may also be a Lisp form, which will be evaluated. @@ -817,11 +817,11 @@ N days, just insert a special line indicating the size of the gap." :group 'org-agenda) (defcustom org-agenda-menu-show-matcher t - "Non-nil menas show the match string in the agenda dispatcher menu. + "Non-nil means show the match string in the agenda dispatcher menu. When nil, the matcher string is not shown, but is put into the help-echo property so than moving the mouse over the command shows it. Setting it to nil is good if matcher strings are very long and/or if -you wnat to use two-column display (see `org-agenda-menu-two-column')." +you want to use two-column display (see `org-agenda-menu-two-column')." :group 'org-agenda :type 'boolean) @@ -1573,7 +1573,7 @@ Where CATEGORY-REGEXP is a regexp matching the categories where the icon should be displayed. FILE-OR-DATA either a file path or a string containing image data. -The other fields can be ommited safely if not needed: +The other fields can be omited safely if not needed: TYPE indicates the image type. DATA-P is a boolean indicating whether the FILE-OR-DATA string is image data. diff --git a/lisp/org-capture.el b/lisp/org-capture.el index a28c3b881..e2583083c 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -136,7 +136,7 @@ target Specification of where the captured item should be placed. Will create a heading in a date tree for today's date (file+datetree+prompt \"path/to/file\") - Will create a heading in a date tree, promts for date + Will create a heading in a date tree, prompts for date (file+function \"path/to/file\" function-finding-location) A function to find the right location in the file diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 97f17e519..0af56fe0d 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -483,7 +483,7 @@ This option can also be set with the +OPTIONS line, e.g. \"LaTeX:mathjax\". Allowed values are: nil Don't do anything. -verbatim Keep eveything in verbatim +verbatim Keep everything in verbatim dvipng Process the LaTeX fragments to images. This will also include processing of non-math environments. t Do MathJax preprocessing if there is at least on math snippet, diff --git a/lisp/org-faces.el b/lisp/org-faces.el index 4f4af9cd2..bd509ae4f 100644 --- a/lisp/org-faces.el +++ b/lisp/org-faces.el @@ -321,7 +321,7 @@ specific tags." (((class color) (min-colors 8)) (:foreground "green")) (t (:bold nil)))) "Face used in agenda, to indicate lines switched to DONE. -This face is used to de-emphasize items that where brightly colord in the +This face is used to de-emphasize items that where brightly colored in the agenda because they were things to do, or overdue. The DONE state itself is of course immediately visible, but for example a passed deadline is \(by default) very bright read. This face could be simply the default face diff --git a/lisp/org.el b/lisp/org.el index 6de99bb44..0dcc5f4e3 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -1082,7 +1082,7 @@ for the duration of the command." The value is an alist, with `heading' and `plain-list-item' as car, and a boolean flag as cdr. The cdr may also be the symbol `auto', and then Org will look at the surrounding headings/items and try to make an -intelligent decision wether to insert a blank line or not. +intelligent decision whether to insert a blank line or not. For plain lists, if the variable `org-empty-line-terminates-plain-lists' is set, the setting here is ignored and no empty line is inserted, to avoid @@ -2626,7 +2626,7 @@ See also `org-agenda-jump-prefer-future'." (defcustom org-agenda-jump-prefer-future 'org-read-date-prefer-future "Should the agenda jump command prefer the future for incomplete dates? The default is to do the same as configured in `org-read-date-prefer-future'. -But you can alse set a deviating value here. +But you can also set a deviating value here. This may t or nil, or the symbol `org-read-date-prefer-future'." :group 'org-agenda :group 'org-time