0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 20:37:51 +00:00

Backport commit ff4de1bd8 from Emacs

* lisp/org.el:
* lisp/org-list.el (org-list-to-generic):
* lisp/org-compat.el: In comments, quote 'like this'.

Fix quoting style in Lisp comments
ff4de1bd88b8be4a7071884910ff601eb10fbad5
Eli Zaretskii
Sun Sep 12 19:51:06 2021 +0300
This commit is contained in:
Eli Zaretskii 2021-09-12 19:51:06 +03:00 committed by Kyle Meyer
parent 9961abf75a
commit d2deb188a6
3 changed files with 11 additions and 11 deletions

View file

@ -179,9 +179,9 @@ This is a floating point number if the size is too large for an integer."
Case is significant."
(string< s1 s2)))
;; The time- functions below translate nil to `current-time' and
;; accept an integer as of Emacs 25. `decode-time' and
;; `format-time-string' accept nil on Emacs 24 but don't accept an
;; The time- functions below translate nil to 'current-time' and
;; accept an integer as of Emacs 25. 'decode-time' and
;; 'format-time-string' accept nil on Emacs 24 but don't accept an
;; integer until Emacs 25.
(if (< emacs-major-version 25)
(let ((convert

View file

@ -3355,7 +3355,7 @@ Valid parameters are:
(when (and backend (symbolp backend) (not (org-export-get-backend backend)))
(user-error "Unknown :backend value"))
(unless backend (require 'ox-org))
;; When `:raw' property has a non-nil value, turn all objects back
;; When ':raw' property has a non-nil value, turn all objects back
;; into Org syntax.
(when (and backend (plist-get params :raw))
(org-element-map data org-element-all-objects

View file

@ -19651,15 +19651,15 @@ When BLOCK-REGEXP is non-nil, use this regexp to find blocks."
;; example-block) don't accept comments. Usual Emacs comment commands
;; cannot cope with those requirements. Therefore, Org replaces them.
;; Org still relies on `comment-dwim', but cannot trust
;; `comment-only-p'. So, `comment-region-function' and
;; `uncomment-region-function' both point
;; to `org-comment-or-uncomment-region'. Eventually,
;; `org-insert-comment' takes care of insertion of comments at the
;; Org still relies on 'comment-dwim', but cannot trust
;; 'comment-only-p'. So, 'comment-region-function' and
;; 'uncomment-region-function' both point
;; to 'org-comment-or-uncomment-region'. Eventually,
;; 'org-insert-comment' takes care of insertion of comments at the
;; beginning of line.
;; `org-setup-comments-handling' install comments related variables
;; during `org-mode' initialization.
;; 'org-setup-comments-handling' install comments related variables
;; during 'org-mode' initialization.
(defun org-setup-comments-handling ()
(interactive)