branch: externals-release/org commit 0ab9bc138f531a70ebacf98e1f205313d6a35ce6 Author: Stefan Kangas <stefankan...@gmail.com> Commit: Kyle Meyer <k...@kyleam.com>
Backport commit 920a7d38e from Emacs ; Fix typos 920a7d38e96134289393b7bfcc3a7b88be73925b Stefan Kangas Sun Jan 15 02:14:19 2023 +0100 [km] These were likely not typos but intended as an abbreviation for "if and only if". However, using "if" works fine in these spots, so let's just go along with the change. (These may end up being reverted on Emacs's side; see emacs-devel <83a62k72lx....@gnu.org>, 01-15.) --- lisp/org-mouse.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org-mouse.el b/lisp/org-mouse.el index 6a733f09db..3b2c4cba62 100644 --- a/lisp/org-mouse.el +++ b/lisp/org-mouse.el @@ -241,7 +241,7 @@ return `:middle'." (t :middle))) (defun org-mouse-empty-line () - "Return non-nil iff the line contains only white space." + "Return non-nil if the line contains only white space." (save-excursion (beginning-of-line) (looking-at "[ \t]*$"))) (defun org-mouse-next-heading () @@ -283,7 +283,7 @@ keyword as the only argument. If SELECTED is nil, then all items are normal menu items. If SELECTED is a function, then each item is a checkbox, which is -enabled for a given keyword iff (funcall SELECTED keyword) return +enabled for a given keyword if (funcall SELECTED keyword) return non-nil. If SELECTED is neither nil nor a function, then the items are radio buttons. A radio button is enabled for the keyword `equal' to SELECTED.