aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastien Guerry2020-12-13 22:26:51 +0100
committerBastien Guerry2020-12-13 22:26:51 +0100
commit2dbc95063b5ee3d48aceff05f89e63a134df86ed (patch)
tree706720c6def867ac680fab7139585864936fe117
parentf22856a5c54d99867cd24c08a14bbda23d5c6229 (diff)
downloademacs-2dbc95063b5ee3d48aceff05f89e63a134df86ed.tar.gz
emacs-2dbc95063b5ee3d48aceff05f89e63a134df86ed.zip
Update to Org 9.4.2
Mostly fixing compiler warnings.
-rw-r--r--etc/refcards/orgcard.tex2
-rw-r--r--lisp/org/ob-ruby.el11
-rw-r--r--lisp/org/ol-bibtex.el2
-rw-r--r--lisp/org/ol.el2
-rw-r--r--lisp/org/org-compat.el2
-rw-r--r--lisp/org/org-entities.el1
-rw-r--r--lisp/org/org-list.el1
-rw-r--r--lisp/org/org-macs.el1
-rw-r--r--lisp/org/org-src.el1
-rw-r--r--lisp/org/org-table.el3
-rw-r--r--lisp/org/org-version.el4
-rw-r--r--lisp/org/org.el5
12 files changed, 26 insertions, 9 deletions
diff --git a/etc/refcards/orgcard.tex b/etc/refcards/orgcard.tex
index b890fe2ca83..5613fdd6527 100644
--- a/etc/refcards/orgcard.tex
+++ b/etc/refcards/orgcard.tex
@@ -1,5 +1,5 @@
1% Reference Card for Org Mode 1% Reference Card for Org Mode
2\def\orgversionnumber{9.4.1} 2\def\orgversionnumber{9.4.2}
3\def\versionyear{2019} % latest update 3\def\versionyear{2019} % latest update
4\input emacsver.tex 4\input emacsver.tex
5 5
diff --git a/lisp/org/ob-ruby.el b/lisp/org/ob-ruby.el
index 5ed29f8891a..2e33bfa29af 100644
--- a/lisp/org/ob-ruby.el
+++ b/lisp/org/ob-ruby.el
@@ -159,13 +159,16 @@ If there is not a current inferior-process-buffer in SESSION
159then create one. Return the initialized session." 159then create one. Return the initialized session."
160 (unless (string= session "none") 160 (unless (string= session "none")
161 (require 'inf-ruby) 161 (require 'inf-ruby)
162 (let* ((cmd (cdr (or (assq :ruby params) 162 (let* ((command (cdr (or (assq :ruby params)
163 (assoc inf-ruby-default-implementation 163 (assoc inf-ruby-default-implementation
164 inf-ruby-implementations)))) 164 inf-ruby-implementations))))
165 (buffer (get-buffer (format "*%s*" session))) 165 (buffer (get-buffer (format "*%s*" session)))
166 (session-buffer (or buffer (save-window-excursion 166 (session-buffer (or buffer (save-window-excursion
167 (run-ruby-or-pop-to-buffer 167 (run-ruby-or-pop-to-buffer
168 cmd (or session "ruby") 168 (if (functionp command)
169 (funcall command)
170 command)
171 (or session "ruby")
169 (unless session 172 (unless session
170 (inf-ruby-buffer))) 173 (inf-ruby-buffer)))
171 (current-buffer))))) 174 (current-buffer)))))
diff --git a/lisp/org/ol-bibtex.el b/lisp/org/ol-bibtex.el
index e8f246e7f64..bf25d22057b 100644
--- a/lisp/org/ol-bibtex.el
+++ b/lisp/org/ol-bibtex.el
@@ -137,6 +137,8 @@
137(declare-function org-set-property "org" (property value)) 137(declare-function org-set-property "org" (property value))
138(declare-function org-toggle-tag "org" (tag &optional onoff)) 138(declare-function org-toggle-tag "org" (tag &optional onoff))
139 139
140(declare-function org-search-view "org-agenda" (&optional todo-only string edit-at))
141
140 142
141;;; Bibtex data 143;;; Bibtex data
142(defvar org-bibtex-types 144(defvar org-bibtex-types
diff --git a/lisp/org/ol.el b/lisp/org/ol.el
index 77ca21e2643..5bb01e3f5fd 100644
--- a/lisp/org/ol.el
+++ b/lisp/org/ol.el
@@ -63,10 +63,12 @@
63(declare-function org-insert-heading "org" (&optional arg invisible-ok top)) 63(declare-function org-insert-heading "org" (&optional arg invisible-ok top))
64(declare-function org-load-modules-maybe "org" (&optional force)) 64(declare-function org-load-modules-maybe "org" (&optional force))
65(declare-function org-mark-ring-push "org" (&optional pos buffer)) 65(declare-function org-mark-ring-push "org" (&optional pos buffer))
66(declare-function org-mode "org" ())
66(declare-function org-occur "org" (regexp &optional keep-previous callback)) 67(declare-function org-occur "org" (regexp &optional keep-previous callback))
67(declare-function org-open-file "org" (path &optional in-emacs line search)) 68(declare-function org-open-file "org" (path &optional in-emacs line search))
68(declare-function org-overview "org" ()) 69(declare-function org-overview "org" ())
69(declare-function org-restart-font-lock "org" ()) 70(declare-function org-restart-font-lock "org" ())
71(declare-function org-run-like-in-org-mode "org" (cmd))
70(declare-function org-show-context "org" (&optional key)) 72(declare-function org-show-context "org" (&optional key))
71(declare-function org-src-coderef-format "org-src" (&optional element)) 73(declare-function org-src-coderef-format "org-src" (&optional element))
72(declare-function org-src-coderef-regexp "org-src" (fmt &optional label)) 74(declare-function org-src-coderef-regexp "org-src" (fmt &optional label))
diff --git a/lisp/org/org-compat.el b/lisp/org/org-compat.el
index e4d8658197c..6e9e248d23a 100644
--- a/lisp/org/org-compat.el
+++ b/lisp/org/org-compat.el
@@ -34,7 +34,9 @@
34 34
35(declare-function org-agenda-diary-entry "org-agenda") 35(declare-function org-agenda-diary-entry "org-agenda")
36(declare-function org-agenda-maybe-redo "org-agenda" ()) 36(declare-function org-agenda-maybe-redo "org-agenda" ())
37(declare-function org-agenda-set-restriction-lock "org-agenda" (&optional type))
37(declare-function org-agenda-remove-restriction-lock "org-agenda" (&optional noupdate)) 38(declare-function org-agenda-remove-restriction-lock "org-agenda" (&optional noupdate))
39(declare-function org-calendar-goto-agenda "org-agenda" ())
38(declare-function org-align-tags "org" (&optional all)) 40(declare-function org-align-tags "org" (&optional all))
39(declare-function org-at-heading-p "org" (&optional ignored)) 41(declare-function org-at-heading-p "org" (&optional ignored))
40(declare-function org-at-table.el-p "org" ()) 42(declare-function org-at-table.el-p "org" ())
diff --git a/lisp/org/org-entities.el b/lisp/org/org-entities.el
index bca0c4338a3..b2878609d87 100644
--- a/lisp/org/org-entities.el
+++ b/lisp/org/org-entities.el
@@ -27,6 +27,7 @@
27 27
28;;; Code: 28;;; Code:
29 29
30(declare-function org-mode "org" ())
30(declare-function org-toggle-pretty-entities "org" ()) 31(declare-function org-toggle-pretty-entities "org" ())
31(declare-function org-table-align "org-table" ()) 32(declare-function org-table-align "org-table" ())
32 33
diff --git a/lisp/org/org-list.el b/lisp/org/org-list.el
index b8383283be8..dc7dc2a2c26 100644
--- a/lisp/org/org-list.el
+++ b/lisp/org/org-list.el
@@ -132,6 +132,7 @@
132(declare-function org-inlinetask-in-task-p "org-inlinetask" ()) 132(declare-function org-inlinetask-in-task-p "org-inlinetask" ())
133(declare-function org-inlinetask-outline-regexp "org-inlinetask" ()) 133(declare-function org-inlinetask-outline-regexp "org-inlinetask" ())
134(declare-function org-level-increment "org" ()) 134(declare-function org-level-increment "org" ())
135(declare-function org-mode "org" ())
135(declare-function org-narrow-to-subtree "org" ()) 136(declare-function org-narrow-to-subtree "org" ())
136(declare-function org-outline-level "org" ()) 137(declare-function org-outline-level "org" ())
137(declare-function org-previous-line-empty-p "org" ()) 138(declare-function org-previous-line-empty-p "org" ())
diff --git a/lisp/org/org-macs.el b/lisp/org/org-macs.el
index f25efe07f33..f375c33d96a 100644
--- a/lisp/org/org-macs.el
+++ b/lisp/org/org-macs.el
@@ -34,6 +34,7 @@
34(require 'cl-lib) 34(require 'cl-lib)
35(require 'format-spec) 35(require 'format-spec)
36 36
37(declare-function org-mode "org" ())
37(declare-function org-show-context "org" (&optional key)) 38(declare-function org-show-context "org" (&optional key))
38(declare-function org-string-collate-lessp "org-compat" (s1 s2 &optional locale ignore-case)) 39(declare-function org-string-collate-lessp "org-compat" (s1 s2 &optional locale ignore-case))
39 40
diff --git a/lisp/org/org-src.el b/lisp/org/org-src.el
index 28733d0115b..b4e54083d24 100644
--- a/lisp/org/org-src.el
+++ b/lisp/org/org-src.el
@@ -37,6 +37,7 @@
37(require 'org-compat) 37(require 'org-compat)
38(require 'org-keys) 38(require 'org-keys)
39 39
40(declare-function org-mode "org" ())
40(declare-function org-element-at-point "org-element" ()) 41(declare-function org-element-at-point "org-element" ())
41(declare-function org-element-class "org-element" (datum &optional parent)) 42(declare-function org-element-class "org-element" (datum &optional parent))
42(declare-function org-element-context "org-element" (&optional element)) 43(declare-function org-element-context "org-element" (&optional element))
diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el
index 8dd3f392d2d..546326d0d58 100644
--- a/lisp/org/org-table.el
+++ b/lisp/org/org-table.el
@@ -44,6 +44,9 @@
44(declare-function face-remap-add-relative "face-remap" (face &rest specs)) 44(declare-function face-remap-add-relative "face-remap" (face &rest specs))
45(declare-function org-at-timestamp-p "org" (&optional extended)) 45(declare-function org-at-timestamp-p "org" (&optional extended))
46(declare-function org-delete-backward-char "org" (N)) 46(declare-function org-delete-backward-char "org" (N))
47(declare-function org-mode "org" ())
48(declare-function org-duration-p "org-duration" (duration &optional canonical))
49(declare-function org-duration-to-minutes "org-duration" (duration &optional canonical))
47(declare-function org-element-at-point "org-element" ()) 50(declare-function org-element-at-point "org-element" ())
48(declare-function org-element-contents "org-element" (element)) 51(declare-function org-element-contents "org-element" (element))
49(declare-function org-element-extract-element "org-element" (element)) 52(declare-function org-element-extract-element "org-element" (element))
diff --git a/lisp/org/org-version.el b/lisp/org/org-version.el
index a5219a0e11b..738dbd663c1 100644
--- a/lisp/org/org-version.el
+++ b/lisp/org/org-version.el
@@ -5,13 +5,13 @@
5(defun org-release () 5(defun org-release ()
6 "The release version of Org. 6 "The release version of Org.
7Inserted by installing Org mode or when a release is made." 7Inserted by installing Org mode or when a release is made."
8 (let ((org-release "9.4.1")) 8 (let ((org-release "9.4.2"))
9 org-release)) 9 org-release))
10;;;###autoload 10;;;###autoload
11(defun org-git-version () 11(defun org-git-version ()
12 "The Git version of Org mode. 12 "The Git version of Org mode.
13Inserted by installing Org or when a release is made." 13Inserted by installing Org or when a release is made."
14 (let ((org-git-version "release_9.4.1-116-g353bb4")) 14 (let ((org-git-version "release_9.4.2"))
15 org-git-version)) 15 org-git-version))
16 16
17(provide 'org-version) 17(provide 'org-version)
diff --git a/lisp/org/org.el b/lisp/org/org.el
index 3db07cd89b3..063d0449d29 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -8,7 +8,7 @@
8;; Keywords: outlines, hypermedia, calendar, wp 8;; Keywords: outlines, hypermedia, calendar, wp
9;; Homepage: https://orgmode.org 9;; Homepage: https://orgmode.org
10 10
11;; Version: 9.4.1 11;; Version: 9.4.2
12 12
13;; This file is part of GNU Emacs. 13;; This file is part of GNU Emacs.
14;; 14;;
@@ -149,6 +149,7 @@ Stars are put in group 1 and the trimmed body in group 2.")
149(declare-function org-columns-quit "org-colview" ()) 149(declare-function org-columns-quit "org-colview" ())
150(declare-function org-columns-insert-dblock "org-colview" ()) 150(declare-function org-columns-insert-dblock "org-colview" ())
151(declare-function org-duration-from-minutes "org-duration" (minutes &optional fmt canonical)) 151(declare-function org-duration-from-minutes "org-duration" (minutes &optional fmt canonical))
152(declare-function org-duration-to-minutes "org-duration" (duration &optional canonical))
152(declare-function org-element-at-point "org-element" ()) 153(declare-function org-element-at-point "org-element" ())
153(declare-function org-element-cache-refresh "org-element" (pos)) 154(declare-function org-element-cache-refresh "org-element" (pos))
154(declare-function org-element-cache-reset "org-element" (&optional all)) 155(declare-function org-element-cache-reset "org-element" (&optional all))
@@ -4179,7 +4180,7 @@ After a match, the following groups carry important information:
4179 "Variable associated with STARTUP options for Org. 4180 "Variable associated with STARTUP options for Org.
4180Each element is a list of three items: the startup options (as written 4181Each element is a list of three items: the startup options (as written
4181in the #+STARTUP line), the corresponding variable, and the value to set 4182in the #+STARTUP line), the corresponding variable, and the value to set
4182this variable to if the option is found. An optional forth element PUSH 4183this variable to if the option is found. An optional fourth element PUSH
4183means to push this value onto the list in the variable.") 4184means to push this value onto the list in the variable.")
4184 4185
4185(defcustom org-group-tags t 4186(defcustom org-group-tags t