forked from mirrors/org-mode
Merge branch 'km/from-emacs-master'
This commit is contained in:
commit
a246a13187
|
@ -208,8 +208,8 @@ Otherwise, use Emacs' standard conversion function."
|
|||
"Return database connection parameter NAME.
|
||||
Given a parameter NAME, if :dbconnection is defined in PARAMS
|
||||
then look for the parameter into the corresponding connection
|
||||
defined in `sql-connection-alist`, otherwise look into PARAMS.
|
||||
Look `sql-connection-alist` (part of SQL mode) for how to define
|
||||
defined in `sql-connection-alist', otherwise look into PARAMS.
|
||||
See `sql-connection-alist' (part of SQL mode) for how to define
|
||||
database connections."
|
||||
(if (assq :dbconnection params)
|
||||
(let* ((dbconnection (cdr (assq :dbconnection params)))
|
||||
|
|
|
@ -215,9 +215,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
|
||||
|
|
|
@ -3348,7 +3348,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
|
||||
|
|
14
lisp/org.el
14
lisp/org.el
|
@ -19840,15 +19840,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)
|
||||
|
|
Loading…
Reference in New Issue