emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Docstring fixes
@ 2023-03-25 16:49 Stephen J. Eglen
  2023-03-26 19:16 ` Stephen J. Eglen
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen J. Eglen @ 2023-03-25 16:49 UTC (permalink / raw)
  To: emacs-orgmode

Some small docstring fixes to align with convention in Emacs for
'Non-nil means ...'

Stephen

diff --git a/lisp/org.el b/lisp/org.el
index 4d12084d9..08a6f1a50 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -3600,13 +3600,13 @@ following symbols:
 	       (const :tag "Entities" entities))))
 
 (defcustom org-hide-emphasis-markers nil
-  "Non-nil mean font-lock should hide the emphasis marker characters."
+  "Non-nil means font-lock should hide the emphasis marker characters."
   :group 'org-appearance
   :type 'boolean
   :safe #'booleanp)
 
 (defcustom org-hide-macro-markers nil
-  "Non-nil mean font-lock should hide the brackets marking macro calls."
+  "Non-nil means font-lock should hide the brackets marking macro calls."
   :group 'org-appearance
   :type 'boolean)
 
@@ -3618,7 +3618,7 @@ When nil, the \\name form remains in the buffer."
   :type 'boolean)
 
 (defcustom org-pretty-entities-include-sub-superscripts t
-  "Non-nil means, pretty entity display includes formatting sub/superscripts."
+  "Non-nil means pretty entity display includes formatting sub/superscripts."
   :group 'org-appearance
   :version "24.1"
   :type 'boolean)


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: Docstring fixes
  2023-03-25 16:49 Docstring fixes Stephen J. Eglen
@ 2023-03-26 19:16 ` Stephen J. Eglen
  2023-03-27 11:16   ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen J. Eglen @ 2023-03-26 19:16 UTC (permalink / raw)
  To: emacs-orgmode



and a commit message.

org.el: Docstring fixes.

* lisp/org.el (org-hide-emphasis-markers)
(org-hide-macro-markers)
(org-pretty-entities-include-sub-superscripts): Follow elisp
convention for docstrings: 'Non-nil means ...'.



On Sat, Mar 25 2023, Stephen J. Eglen wrote:

> Some small docstring fixes to align with convention in Emacs for
> 'Non-nil means ...'
>
> Stephen
>
> diff --git a/lisp/org.el b/lisp/org.el
> index 4d12084d9..08a6f1a50 100644
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -3600,13 +3600,13 @@ following symbols:
>  	       (const :tag "Entities" entities))))
>  
>  (defcustom org-hide-emphasis-markers nil
> -  "Non-nil mean font-lock should hide the emphasis marker characters."
> +  "Non-nil means font-lock should hide the emphasis marker characters."
>    :group 'org-appearance
>    :type 'boolean
>    :safe #'booleanp)
>  
>  (defcustom org-hide-macro-markers nil
> -  "Non-nil mean font-lock should hide the brackets marking macro calls."
> +  "Non-nil means font-lock should hide the brackets marking macro calls."
>    :group 'org-appearance
>    :type 'boolean)
>  
> @@ -3618,7 +3618,7 @@ When nil, the \\name form remains in the buffer."
>    :type 'boolean)
>  
>  (defcustom org-pretty-entities-include-sub-superscripts t
> -  "Non-nil means, pretty entity display includes formatting sub/superscripts."
> +  "Non-nil means pretty entity display includes formatting sub/superscripts."
>    :group 'org-appearance
>    :version "24.1"
>    :type 'boolean)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Docstring fixes
  2023-03-26 19:16 ` Stephen J. Eglen
@ 2023-03-27 11:16   ` Ihor Radchenko
  0 siblings, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2023-03-27 11:16 UTC (permalink / raw)
  To: Stephen J. Eglen; +Cc: emacs-orgmode

"Stephen J. Eglen" <sje30@cam.ac.uk> writes:

> and a commit message.

Thanks!
Applied, onto bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fcd813c40

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-27 11:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-25 16:49 Docstring fixes Stephen J. Eglen
2023-03-26 19:16 ` Stephen J. Eglen
2023-03-27 11:16   ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).