From bc15277156a97c550c3736ffaef2cc06fd1b285e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 11 Nov 2019 10:30:13 -0800 Subject: [PATCH] Backport commit 6b4a97c1c from Emacs Fix some quoting glitches in doc strings 6b4a97c1c78f39ce890d100acceceb652d14e20d Paul Eggert Mon Nov 11 10:32:53 2019 -0800 --- lisp/ob-lua.el | 12 ++++++------ lisp/org-agenda.el | 2 +- lisp/ox-latex.el | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lisp/ob-lua.el b/lisp/ob-lua.el index 9a6650577..530376a41 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 690d7e27e..b14d6d637 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 569a4a0a1..c6656d4ae 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.