diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2023-09-17 16:49:21 +0200 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2024-05-28 22:58:43 -0400 |
commit | c49b8f68caaaf6b0f91b94e361d58b9ede3db62a (patch) | |
tree | 507bc1e56ad024d2bdf9894c5a890661fe735d05 | |
parent | b2b9a96192084062daa6a64f3889b6139fea07ff (diff) |
Backport commit 1e270e580 from Emacs
; Grammar fixes ("allow to" et al)
1e270e580d3bb9ca1b3766a296611f76ec13f6f1
Stefan Kangas
Sun Sep 17 16:49:21 2023 +0200
-rw-r--r-- | doc/org-manual.org | 2 | ||||
-rw-r--r-- | lisp/ol.el | 4 | ||||
-rw-r--r-- | lisp/org-element.el | 4 | ||||
-rw-r--r-- | lisp/org-table.el | 4 | ||||
-rw-r--r-- | lisp/org.el | 6 |
5 files changed, 10 insertions, 10 deletions
diff --git a/doc/org-manual.org b/doc/org-manual.org index 69337abf1..51bbc75e4 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -9431,7 +9431,7 @@ the estimated effort of an entry (see [[*Effort Estimates]]). #+vindex: org-agenda-effort-filter-preset #+vindex: org-agenda-regexp-filter-preset Agenda built-in or custom commands are statically defined. Agenda -filters and limits allow to flexibly narrow down the list of agenda +filters and limits allow flexibly narrowing down the list of agenda entries. /Filters/ only change the visibility of items, are very fast and are diff --git a/lisp/ol.el b/lisp/ol.el index 4c84e62f4..d40b44d99 100644 --- a/lisp/ol.el +++ b/lisp/ol.el @@ -1803,7 +1803,7 @@ generate a description as described in `org-link-parameters' docstring. Otherwise, if `org-link-make-description-function' is non-nil, this function will be called with the link target, and the result will be the default link description. When called -non-interactively, don't allow to edit the default description." +non-interactively, don't allow editing the default description." (interactive "P") (let* ((wcf (current-window-configuration)) (origbuf (current-buffer)) @@ -2042,7 +2042,7 @@ Also refresh fontification if needed." (interactive) (let ((old-regexp org-target-link-regexp) ;; Some languages, e.g., Chinese, do not use spaces to - ;; separate words. Also allow to surround radio targets with + ;; separate words. Also allow surrounding radio targets with ;; line-breakable characters. (before-re "\\(?:^\\|[^[:alnum:]]\\|\\c|\\)\\(") (after-re "\\)\\(?:$\\|[^[:alnum:]]\\|\\c|\\)") diff --git a/lisp/org-element.el b/lisp/org-element.el index 796191dd3..01a575286 100644 --- a/lisp/org-element.el +++ b/lisp/org-element.el @@ -2968,7 +2968,7 @@ CONTENTS is verse block contents." ;; object types they can contain will be specified in ;; `org-element-object-restrictions'. ;; -;; Creating a new type of object requires to alter +;; Creating a new type of object requires altering ;; `org-element--object-regexp' and `org-element--object-lex', add the ;; new type in `org-element-all-objects', and possibly add ;; restrictions in `org-element-object-restrictions'. @@ -3523,7 +3523,7 @@ Assume point is at the beginning of the link." ;; ;; Also treat any newline character and associated ;; indentation as a single space character. This is not - ;; compatible with RFC 3986, which requires to ignore + ;; compatible with RFC 3986, which requires ignoring ;; them altogether. However, doing so would require ;; users to encode spaces on the fly when writing links ;; (e.g., insert [[shell:ls%20*.org]] instead of diff --git a/lisp/org-table.el b/lisp/org-table.el index 941d8a6de..acae14281 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -417,7 +417,7 @@ It is probably good to never set this variable to nil, for the sake of portability of tables." :group 'org-table-calculation :type '(choice - (const :tag "Allow to cross" t) + (const :tag "Allow crossing hline" t) (const :tag "Stick to hline" nil) (const :tag "Error on attempt to cross" error))) @@ -3900,7 +3900,7 @@ When non-nil, return the overlay narrowing the field." ;; Aligning table from the first row will not shrink again the ;; second row, which was not visible initially. ;; - ;; However, fixing it requires to check every row, which may be + ;; However, fixing it requires checking every row, which may be ;; slow on large tables. Moreover, the hindrance of this ;; pathological case is very limited. (beginning-of-line) diff --git a/lisp/org.el b/lisp/org.el index 16f63b879..803664d9b 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -13228,7 +13228,7 @@ Optional argument DEFAULT provides a default value for PROPERTY." nil nil nil nil default-prop))) (defun org-set-property-and-value (use-last) - "Allow to set [PROPERTY]: [value] direction from prompt. + "Allow setting [PROPERTY]: [value] direction from prompt. When use-default, don't even ask, just use the last \"[PROPERTY]: [value]\" string from the history." (interactive "P") @@ -17655,8 +17655,8 @@ region." (defun org-open-line (n) "Insert a new row in tables, call `open-line' elsewhere. If `org-special-ctrl-o' is nil, just call `open-line' everywhere. -As a special case, when a document starts with a table, allow to -call `open-line' on the very first character." +As a special case, when a document starts with a table, allow +calling `open-line' on the very first character." (interactive "*p") (if (and org-special-ctrl-o (/= (point) 1) (org-at-table-p)) (org-table-insert-row) |