summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-11-11 10:30:13 -0800
committerKyle Meyer <kyle@kyleam.com>2019-11-16 17:17:16 -0500
commitbc15277156a97c550c3736ffaef2cc06fd1b285e (patch)
tree55932fa63b5c655da6fc7fc5c41ac6e422e0a7a8
parent9c611fd8ac3483576a5c5871f05aecad1afafa5c (diff)
downloadorg-mode-bc15277156a97c550c3736ffaef2cc06fd1b285e.tar.gz
Backport commit 6b4a97c1c from Emacs
Fix some quoting glitches in doc strings 6b4a97c1c78f39ce890d100acceceb652d14e20d Paul Eggert Mon Nov 11 10:32:53 2019 -0800
-rw-r--r--lisp/ob-lua.el12
-rw-r--r--lisp/org-agenda.el2
-rw-r--r--lisp/ox-latex.el2
3 files changed, 8 insertions, 8 deletions
diff --git a/lisp/ob-lua.el b/lisp/ob-lua.el
index 9a66505..530376a 100644
--- a/lisp/ob-lua.el
+++ b/lisp/ob-lua.el
@@ -55,7 +55,7 @@
(defcustom org-babel-lua-mode 'lua-mode
"Preferred lua mode for use in running lua interactively.
-This will typically be 'lua-mode."
+This will typically be `lua-mode'."
:group 'org-babel
:version "26.1"
:package-version '(Org . "8.3")
@@ -69,7 +69,7 @@ This will typically be 'lua-mode."
:type 'string)
(defcustom org-babel-lua-None-to 'hline
- "Replace 'None' in lua tables with this before returning."
+ "Replace `None' in lua tables with this before returning."
:group 'org-babel
:version "26.1"
:package-version '(Org . "8.3")
@@ -284,8 +284,8 @@ fd:close()")
(defun org-babel-lua-evaluate-external-process
(body &optional result-type result-params preamble)
"Evaluate BODY in external lua process.
-If RESULT-TYPE equals 'output then return standard output as a
-string. If RESULT-TYPE equals 'value then return the value of the
+If RESULT-TYPE equals `output' then return standard output as a
+string. If RESULT-TYPE equals `value' then return the value of the
last statement in BODY, as elisp."
(let ((raw
(pcase result-type
@@ -316,8 +316,8 @@ last statement in BODY, as elisp."
(defun org-babel-lua-evaluate-session
(session body &optional result-type result-params)
"Pass BODY to the Lua process in SESSION.
-If RESULT-TYPE equals 'output then return standard output as a
-string. If RESULT-TYPE equals 'value then return the value of the
+If RESULT-TYPE equals `output' then return standard output as a
+string. If RESULT-TYPE equals `value' then return the value of the
last statement in BODY, as elisp."
(let* ((send-wait (lambda () (comint-send-input nil t) (sleep-for 0 5)))
(dump-last-value
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 690d7e2..b14d6d6 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -3941,7 +3941,7 @@ dimming them."
the header at `org-hd-marker' is blocked according to
`org-entry-blocked-p', then if `org-agenda-dim-blocked-tasks' is
'invisible and the header is not blocked by checkboxes, set the
-text property `org-todo-blocked' to 'invisible, otherwise set it
+text property `org-todo-blocked' to `invisible', otherwise set it
to t."
(when (get-text-property 0 'todo-state entry)
(let ((entry-marker (get-text-property 0 'org-hd-marker entry))
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 569a4a0..c6656d4 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -383,7 +383,7 @@ variable is non-nil, Org passes their value to \\label unchanged.
You are responsible for ensuring that the value is a valid LaTeX
\\label key, and that no other \\label commands with the same key
appear elsewhere in your document. (Keys may contain letters,
-numbers, and the following punctuation: '_' '.' '-' ':'.) There
+numbers, and the following punctuation: `_' `.' `-' `:'.) There
are no such limitations on CUSTOM_ID and NAME when this variable
is nil.