diff options
| author | Kyle Meyer | 2022-07-24 16:24:24 -0400 |
|---|---|---|
| committer | Kyle Meyer | 2022-07-24 16:24:24 -0400 |
| commit | ba70d0f77c52d471bceb2ad2cc7bc172db348abb (patch) | |
| tree | a2a638dfaaf4cc61b590f1da7b5490dccbcbe03c | |
| parent | f7fd7bf477acfc65701065ec70c32dacb17e275a (diff) | |
| download | emacs-ba70d0f77c52d471bceb2ad2cc7bc172db348abb.tar.gz emacs-ba70d0f77c52d471bceb2ad2cc7bc172db348abb.zip | |
Update to Org 9.5.4-17-g6e991f
| -rw-r--r-- | lisp/org/ob-core.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-julia.el | 8 | ||||
| -rw-r--r-- | lisp/org/ob-lua.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-table.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-tangle.el | 5 | ||||
| -rw-r--r-- | lisp/org/oc-basic.el | 1 | ||||
| -rw-r--r-- | lisp/org/org-agenda.el | 6 | ||||
| -rw-r--r-- | lisp/org/org-compat.el | 5 | ||||
| -rw-r--r-- | lisp/org/org-plot.el | 9 | ||||
| -rw-r--r-- | lisp/org/org-src.el | 4 | ||||
| -rw-r--r-- | lisp/org/org-table.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-version.el | 2 | ||||
| -rw-r--r-- | lisp/org/org.el | 4 | ||||
| -rw-r--r-- | lisp/org/ox-ascii.el | 18 | ||||
| -rw-r--r-- | lisp/org/ox-html.el | 2 | ||||
| -rw-r--r-- | lisp/org/ox-md.el | 10 | ||||
| -rw-r--r-- | lisp/org/ox-publish.el | 2 | ||||
| -rw-r--r-- | lisp/org/ox.el | 6 |
18 files changed, 54 insertions, 36 deletions
diff --git a/lisp/org/ob-core.el b/lisp/org/ob-core.el index 23ef162a7f3..04af84d2e44 100644 --- a/lisp/org/ob-core.el +++ b/lisp/org/ob-core.el | |||
| @@ -480,7 +480,7 @@ value. The value can either be a string or a closure that | |||
| 480 | evaluates to a string. The closure is evaluated when the source | 480 | evaluates to a string. The closure is evaluated when the source |
| 481 | block is being evaluated (e.g. during execution or export), with | 481 | block is being evaluated (e.g. during execution or export), with |
| 482 | point at the source block. It is not possible to use an | 482 | point at the source block. It is not possible to use an |
| 483 | arbitrary function symbol (e.g. 'some-func), since org uses | 483 | arbitrary function symbol (e.g. `some-func'), since org uses |
| 484 | lexical binding. To achieve the same functionality, call the | 484 | lexical binding. To achieve the same functionality, call the |
| 485 | function within a closure (e.g. (lambda () (some-func))). | 485 | function within a closure (e.g. (lambda () (some-func))). |
| 486 | 486 | ||
diff --git a/lisp/org/ob-julia.el b/lisp/org/ob-julia.el index abddca36134..50a44bcf448 100644 --- a/lisp/org/ob-julia.el +++ b/lisp/org/ob-julia.el | |||
| @@ -250,8 +250,8 @@ end") | |||
| 250 | (defun org-babel-julia-evaluate-external-process | 250 | (defun org-babel-julia-evaluate-external-process |
| 251 | (body result-type result-params column-names-p) | 251 | (body result-type result-params column-names-p) |
| 252 | "Evaluate BODY in external julia process. | 252 | "Evaluate BODY in external julia process. |
| 253 | If RESULT-TYPE equals 'output then return standard output as a | 253 | If RESULT-TYPE equals `output' then return standard output as a |
| 254 | string. If RESULT-TYPE equals 'value then return the value of the | 254 | string. If RESULT-TYPE equals `value' then return the value of the |
| 255 | last statement in BODY, as elisp." | 255 | last statement in BODY, as elisp." |
| 256 | (cl-case result-type | 256 | (cl-case result-type |
| 257 | (value | 257 | (value |
| @@ -274,8 +274,8 @@ last statement in BODY, as elisp." | |||
| 274 | (defun org-babel-julia-evaluate-session | 274 | (defun org-babel-julia-evaluate-session |
| 275 | (session body result-type result-params column-names-p) | 275 | (session body result-type result-params column-names-p) |
| 276 | "Evaluate BODY in SESSION. | 276 | "Evaluate BODY in SESSION. |
| 277 | If RESULT-TYPE equals 'output then return standard output as a | 277 | If RESULT-TYPE equals `output' then return standard output as a |
| 278 | string. If RESULT-TYPE equals 'value then return the value of the | 278 | string. If RESULT-TYPE equals `value' then return the value of the |
| 279 | last statement in BODY, as elisp." | 279 | last statement in BODY, as elisp." |
| 280 | (cl-case result-type | 280 | (cl-case result-type |
| 281 | (value | 281 | (value |
diff --git a/lisp/org/ob-lua.el b/lisp/org/ob-lua.el index 48de0dbad06..b6e78fb7fd8 100644 --- a/lisp/org/ob-lua.el +++ b/lisp/org/ob-lua.el | |||
| @@ -395,7 +395,7 @@ fd:close()" | |||
| 395 | (org-babel-lua-table-or-string results))))) | 395 | (org-babel-lua-table-or-string results))))) |
| 396 | 396 | ||
| 397 | (defun org-babel-lua-read-string (string) | 397 | (defun org-babel-lua-read-string (string) |
| 398 | "Strip 's from around Lua string." | 398 | "Strip \\=' characters from around Lua string." |
| 399 | (org-unbracket-string "'" "'" string)) | 399 | (org-unbracket-string "'" "'" string)) |
| 400 | 400 | ||
| 401 | (provide 'ob-lua) | 401 | (provide 'ob-lua) |
diff --git a/lisp/org/ob-table.el b/lisp/org/ob-table.el index 2f092998d8b..f6729e0ece7 100644 --- a/lisp/org/ob-table.el +++ b/lisp/org/ob-table.el | |||
| @@ -84,7 +84,7 @@ is the equivalent of the following source code block: | |||
| 84 | #+end_src | 84 | #+end_src |
| 85 | 85 | ||
| 86 | NOTE: The quotation marks around the function name, | 86 | NOTE: The quotation marks around the function name, |
| 87 | 'source-block', are optional. | 87 | `source-block', are optional. |
| 88 | 88 | ||
| 89 | NOTE: By default, string variable names are interpreted as | 89 | NOTE: By default, string variable names are interpreted as |
| 90 | references to source-code blocks, to force interpretation of a | 90 | references to source-code blocks, to force interpretation of a |
diff --git a/lisp/org/ob-tangle.el b/lisp/org/ob-tangle.el index 566258eba4a..525d27bc070 100644 --- a/lisp/org/ob-tangle.el +++ b/lisp/org/ob-tangle.el | |||
| @@ -581,7 +581,10 @@ which enable the original code blocks to be found." | |||
| 581 | (error "Not in tangled code")) | 581 | (error "Not in tangled code")) |
| 582 | (setq body (buffer-substring body-start end))) | 582 | (setq body (buffer-substring body-start end))) |
| 583 | ;; Go to the beginning of the relative block in Org file. | 583 | ;; Go to the beginning of the relative block in Org file. |
| 584 | (org-link-open-from-string link) | 584 | ;; Explicitly allow fuzzy search even if user customized |
| 585 | ;; otherwise. | ||
| 586 | (let (org-link-search-must-match-exact-headline) | ||
| 587 | (org-link-open-from-string link)) | ||
| 585 | (setq target-buffer (current-buffer)) | 588 | (setq target-buffer (current-buffer)) |
| 586 | (if (string-match "[^ \t\n\r]:\\([[:digit:]]+\\)" block-name) | 589 | (if (string-match "[^ \t\n\r]:\\([[:digit:]]+\\)" block-name) |
| 587 | (let ((n (string-to-number (match-string 1 block-name)))) | 590 | (let ((n (string-to-number (match-string 1 block-name)))) |
diff --git a/lisp/org/oc-basic.el b/lisp/org/oc-basic.el index 9ed1b810fab..8c76e200e4f 100644 --- a/lisp/org/oc-basic.el +++ b/lisp/org/oc-basic.el | |||
| @@ -73,6 +73,7 @@ | |||
| 73 | (require 'seq) | 73 | (require 'seq) |
| 74 | 74 | ||
| 75 | (declare-function org-open-at-point "org" (&optional arg)) | 75 | (declare-function org-open-at-point "org" (&optional arg)) |
| 76 | (declare-function org-open-file "org" (path &optional in-emacs line search)) | ||
| 76 | 77 | ||
| 77 | (declare-function org-element-interpret-data "org-element" (data)) | 78 | (declare-function org-element-interpret-data "org-element" (data)) |
| 78 | (declare-function org-element-property "org-element" (property element)) | 79 | (declare-function org-element-property "org-element" (property element)) |
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index 71aac271f7b..a43b083d536 100644 --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el | |||
| @@ -1615,7 +1615,7 @@ alpha-down Sort headlines alphabetically, reversed. | |||
| 1615 | 1615 | ||
| 1616 | The different possibilities will be tried in sequence, and testing stops | 1616 | The different possibilities will be tried in sequence, and testing stops |
| 1617 | if one comparison returns a \"not-equal\". For example, the default | 1617 | if one comparison returns a \"not-equal\". For example, the default |
| 1618 | '(time-up category-keep priority-down) | 1618 | `(time-up category-keep priority-down)' |
| 1619 | means: Pull out all entries having a specified time of day and sort them, | 1619 | means: Pull out all entries having a specified time of day and sort them, |
| 1620 | in order to make a time schedule for the current day the first thing in the | 1620 | in order to make a time schedule for the current day the first thing in the |
| 1621 | agenda listing for the day. Of the entries without a time indication, keep | 1621 | agenda listing for the day. Of the entries without a time indication, keep |
| @@ -4124,7 +4124,7 @@ dimming them." ;FIXME: The arg isn't used, actually! | |||
| 4124 | 4124 | ||
| 4125 | If the header at `org-hd-marker' is blocked according to | 4125 | If the header at `org-hd-marker' is blocked according to |
| 4126 | `org-entry-blocked-p', then if `org-agenda-dim-blocked-tasks' is | 4126 | `org-entry-blocked-p', then if `org-agenda-dim-blocked-tasks' is |
| 4127 | 'invisible and the header is not blocked by checkboxes, set the | 4127 | `invisible' and the header is not blocked by checkboxes, set the |
| 4128 | text property `org-todo-blocked' to `invisible', otherwise set it | 4128 | text property `org-todo-blocked' to `invisible', otherwise set it |
| 4129 | to t." | 4129 | to t." |
| 4130 | (when (get-text-property 0 'todo-state entry) | 4130 | (when (get-text-property 0 'todo-state entry) |
| @@ -7399,7 +7399,7 @@ Argument ARG is the prefix argument." | |||
| 7399 | When in a restricted subtree, remove it. | 7399 | When in a restricted subtree, remove it. |
| 7400 | 7400 | ||
| 7401 | The restriction will span over the entire file if TYPE is `file', | 7401 | The restriction will span over the entire file if TYPE is `file', |
| 7402 | or if type is '(4), or if the cursor is before the first headline | 7402 | or if type is \\='(4), or if the cursor is before the first headline |
| 7403 | in the file. Otherwise, only apply the restriction to the current | 7403 | in the file. Otherwise, only apply the restriction to the current |
| 7404 | subtree." | 7404 | subtree." |
| 7405 | (interactive "P") | 7405 | (interactive "P") |
diff --git a/lisp/org/org-compat.el b/lisp/org/org-compat.el index c26eb6f10ab..da544a567d8 100644 --- a/lisp/org/org-compat.el +++ b/lisp/org/org-compat.el | |||
| @@ -113,6 +113,11 @@ the symbol of the calling function, for example." | |||
| 113 | 113 | ||
| 114 | ;;; Emacs < 27.1 compatibility | 114 | ;;; Emacs < 27.1 compatibility |
| 115 | 115 | ||
| 116 | (if (version< emacs-version "27.1") | ||
| 117 | (defsubst org-replace-buffer-contents (source &optional _max-secs _max-costs) | ||
| 118 | (replace-buffer-contents source)) | ||
| 119 | (defalias 'org-replace-buffer-contents #'replace-buffer-contents)) | ||
| 120 | |||
| 116 | (unless (fboundp 'proper-list-p) | 121 | (unless (fboundp 'proper-list-p) |
| 117 | ;; `proper-list-p' was added in Emacs 27.1. The function below is | 122 | ;; `proper-list-p' was added in Emacs 27.1. The function below is |
| 118 | ;; taken from Emacs subr.el 200195e824b^. | 123 | ;; taken from Emacs subr.el 200195e824b^. |
diff --git a/lisp/org/org-plot.el b/lisp/org/org-plot.el index bf84c99e042..7958ffd58da 100644 --- a/lisp/org/org-plot.el +++ b/lisp/org/org-plot.el | |||
| @@ -280,7 +280,7 @@ When NORMALISE is non-nil, the count is divided by the number of values." | |||
| 280 | collect (cons n (/ (length m) normaliser))))) | 280 | collect (cons n (/ (length m) normaliser))))) |
| 281 | 281 | ||
| 282 | (defun org--plot/prime-factors (value) | 282 | (defun org--plot/prime-factors (value) |
| 283 | "Return the prime decomposition of VALUE, e.g. for 12, '(3 2 2)." | 283 | "Return the prime decomposition of VALUE, e.g. for 12, \\='(3 2 2)." |
| 284 | (let ((factors '(1)) (i 1)) | 284 | (let ((factors '(1)) (i 1)) |
| 285 | (while (/= 1 value) | 285 | (while (/= 1 value) |
| 286 | (setq i (1+ i)) | 286 | (setq i (1+ i)) |
| @@ -682,9 +682,10 @@ line directly before or after the table." | |||
| 682 | (looking-at "[[:space:]]*#\\+")) | 682 | (looking-at "[[:space:]]*#\\+")) |
| 683 | (setf params (org-plot/collect-options params)))) | 683 | (setf params (org-plot/collect-options params)))) |
| 684 | ;; Dump table to datafile | 684 | ;; Dump table to datafile |
| 685 | (if-let ((dump-func (plist-get type :data-dump))) | 685 | (let ((dump-func (plist-get type :data-dump))) |
| 686 | (funcall dump-func table data-file num-cols params) | 686 | (if dump-func |
| 687 | (org-plot/gnuplot-to-data table data-file params)) | 687 | (funcall dump-func table data-file num-cols params) |
| 688 | (org-plot/gnuplot-to-data table data-file params))) | ||
| 688 | ;; Check type of ind column (timestamp? text?) | 689 | ;; Check type of ind column (timestamp? text?) |
| 689 | (when (plist-get params :check-ind-type) | 690 | (when (plist-get params :check-ind-type) |
| 690 | (let* ((ind (1- (plist-get params :ind))) | 691 | (let* ((ind (1- (plist-get params :ind))) |
diff --git a/lisp/org/org-src.el b/lisp/org/org-src.el index 54f901252f2..89d0c28a432 100644 --- a/lisp/org/org-src.el +++ b/lisp/org/org-src.el | |||
| @@ -1235,7 +1235,7 @@ Throw an error if there is no such buffer." | |||
| 1235 | (insert (with-current-buffer write-back-buf (buffer-string)))) | 1235 | (insert (with-current-buffer write-back-buf (buffer-string)))) |
| 1236 | (save-restriction | 1236 | (save-restriction |
| 1237 | (narrow-to-region beg end) | 1237 | (narrow-to-region beg end) |
| 1238 | (replace-buffer-contents write-back-buf 0.1 nil) | 1238 | (org-replace-buffer-contents write-back-buf 0.1 nil) |
| 1239 | (goto-char (point-max)))) | 1239 | (goto-char (point-max)))) |
| 1240 | (when (and expecting-bol (not (bolp))) (insert "\n"))) | 1240 | (when (and expecting-bol (not (bolp))) (insert "\n"))) |
| 1241 | (kill-buffer write-back-buf) | 1241 | (kill-buffer write-back-buf) |
| @@ -1283,7 +1283,7 @@ Throw an error if there is no such buffer." | |||
| 1283 | (buffer-string)))) | 1283 | (buffer-string)))) |
| 1284 | (save-restriction | 1284 | (save-restriction |
| 1285 | (narrow-to-region beg end) | 1285 | (narrow-to-region beg end) |
| 1286 | (replace-buffer-contents write-back-buf 0.1 nil) | 1286 | (org-replace-buffer-contents write-back-buf 0.1 nil) |
| 1287 | (goto-char (point-max)))) | 1287 | (goto-char (point-max)))) |
| 1288 | (when (and expecting-bol (not (bolp))) (insert "\n"))))) | 1288 | (when (and expecting-bol (not (bolp))) (insert "\n"))))) |
| 1289 | (when write-back-buf (kill-buffer write-back-buf)) | 1289 | (when write-back-buf (kill-buffer write-back-buf)) |
diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el index 860fd6e5608..c301bc6af1a 100644 --- a/lisp/org/org-table.el +++ b/lisp/org/org-table.el | |||
| @@ -5465,7 +5465,7 @@ The table is taken from the parameter TXT, or from the buffer at point." | |||
| 5465 | (nreverse table))))) | 5465 | (nreverse table))))) |
| 5466 | 5466 | ||
| 5467 | (defun org-table-collapse-header (table &optional separator max-header-lines) | 5467 | (defun org-table-collapse-header (table &optional separator max-header-lines) |
| 5468 | "Collapse the lines before 'hline into a single header. | 5468 | "Collapse the lines before `hline' into a single header. |
| 5469 | 5469 | ||
| 5470 | The given TABLE is a list of lists as returned by `org-table-to-lisp'. | 5470 | The given TABLE is a list of lists as returned by `org-table-to-lisp'. |
| 5471 | The leading lines before the first `hline' symbol are considered | 5471 | The leading lines before the first `hline' symbol are considered |
diff --git a/lisp/org/org-version.el b/lisp/org/org-version.el index 2a500fe5106..915c3f63c7d 100644 --- a/lisp/org/org-version.el +++ b/lisp/org/org-version.el | |||
| @@ -11,7 +11,7 @@ Inserted by installing Org mode or when a release is made." | |||
| 11 | (defun org-git-version () | 11 | (defun org-git-version () |
| 12 | "The Git version of Org mode. | 12 | "The Git version of Org mode. |
| 13 | Inserted by installing Org or when a release is made." | 13 | Inserted by installing Org or when a release is made." |
| 14 | (let ((org-git-version "release_9.5.4-3-g6dc785")) | 14 | (let ((org-git-version "release_9.5.4-17-g6e991f")) |
| 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 06af12339ec..a6155c1382a 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -1694,7 +1694,7 @@ OK to kill that hidden subtree. When nil, kill without remorse." | |||
| 1694 | (const :tag "Never kill a hidden subtree with C-k" error))) | 1694 | (const :tag "Never kill a hidden subtree with C-k" error))) |
| 1695 | 1695 | ||
| 1696 | (defcustom org-special-ctrl-o t | 1696 | (defcustom org-special-ctrl-o t |
| 1697 | "Non-nil means, make `C-o' insert a row in tables." | 1697 | "Non-nil means, make `open-line' (\\[open-line]) insert a row in tables." |
| 1698 | :group 'org-edit-structure | 1698 | :group 'org-edit-structure |
| 1699 | :type 'boolean) | 1699 | :type 'boolean) |
| 1700 | 1700 | ||
| @@ -3301,7 +3301,7 @@ Replace format-specifiers in the command as noted below and use | |||
| 3301 | %i: The LaTeX fragment to be converted. | 3301 | %i: The LaTeX fragment to be converted. |
| 3302 | 3302 | ||
| 3303 | For example, this could be used with LaTeXML as | 3303 | For example, this could be used with LaTeXML as |
| 3304 | \"latexmlc 'literal:%i' --profile=math --preload=siunitx.sty 2>/dev/null\"." | 3304 | \"latexmlc \\='literal:%i\\=' --profile=math --preload=siunitx.sty 2>/dev/null\"." |
| 3305 | :group 'org-latex | 3305 | :group 'org-latex |
| 3306 | :package-version '(Org . "9.4") | 3306 | :package-version '(Org . "9.4") |
| 3307 | :type '(choice | 3307 | :type '(choice |
diff --git a/lisp/org/ox-ascii.el b/lisp/org/ox-ascii.el index 38b2a5772c1..76a1a71fabe 100644 --- a/lisp/org/ox-ascii.el +++ b/lisp/org/ox-ascii.el | |||
| @@ -948,12 +948,18 @@ channel." | |||
| 948 | (when description | 948 | (when description |
| 949 | (let ((dest (if (equal type "fuzzy") | 949 | (let ((dest (if (equal type "fuzzy") |
| 950 | (org-export-resolve-fuzzy-link link info) | 950 | (org-export-resolve-fuzzy-link link info) |
| 951 | (org-export-resolve-id-link link info)))) | 951 | ;; Ignore broken links. On broken link, |
| 952 | (concat | 952 | ;; `org-export-resolve-id-link' will throw an |
| 953 | (org-ascii--fill-string | 953 | ;; error and we will return nil. |
| 954 | (format "[%s] %s" anchor (org-ascii--describe-datum dest info)) | 954 | (condition-case nil |
| 955 | width info) | 955 | (org-export-resolve-id-link link info) |
| 956 | "\n\n")))) | 956 | (org-link-broken nil))))) |
| 957 | (when dest | ||
| 958 | (concat | ||
| 959 | (org-ascii--fill-string | ||
| 960 | (format "[%s] %s" anchor (org-ascii--describe-datum dest info)) | ||
| 961 | width info) | ||
| 962 | "\n\n"))))) | ||
| 957 | ;; Do not add a link that cannot be resolved and doesn't have | 963 | ;; Do not add a link that cannot be resolved and doesn't have |
| 958 | ;; any description: destination is already visible in the | 964 | ;; any description: destination is already visible in the |
| 959 | ;; paragraph. | 965 | ;; paragraph. |
diff --git a/lisp/org/ox-html.el b/lisp/org/ox-html.el index 81ef002a052..9cf9125aebd 100644 --- a/lisp/org/ox-html.el +++ b/lisp/org/ox-html.el | |||
| @@ -2909,7 +2909,7 @@ Starred and \"displaymath\" environments are not numbered." | |||
| 2909 | 2909 | ||
| 2910 | (defun org-html--unlabel-latex-environment (latex-frag) | 2910 | (defun org-html--unlabel-latex-environment (latex-frag) |
| 2911 | "Change environment in LATEX-FRAG string to an unnumbered one. | 2911 | "Change environment in LATEX-FRAG string to an unnumbered one. |
| 2912 | For instance, change an 'equation' environment to 'equation*'." | 2912 | For instance, change an `equation' environment to `equation*'." |
| 2913 | (replace-regexp-in-string | 2913 | (replace-regexp-in-string |
| 2914 | "\\`[ \t]*\\\\begin{\\([^*]+?\\)}" | 2914 | "\\`[ \t]*\\\\begin{\\([^*]+?\\)}" |
| 2915 | "\\1*" | 2915 | "\\1*" |
diff --git a/lisp/org/ox-md.el b/lisp/org/ox-md.el index ad684d80333..3551e4184e5 100644 --- a/lisp/org/ox-md.el +++ b/lisp/org/ox-md.el | |||
| @@ -193,11 +193,11 @@ of contents can refer to headlines." | |||
| 193 | ;; A link refers internally to HEADLINE. | 193 | ;; A link refers internally to HEADLINE. |
| 194 | (org-element-map (plist-get info :parse-tree) 'link | 194 | (org-element-map (plist-get info :parse-tree) 'link |
| 195 | (lambda (link) | 195 | (lambda (link) |
| 196 | (eq headline | 196 | (equal headline |
| 197 | (pcase (org-element-property :type link) | 197 | ;; Ignore broken links. |
| 198 | ((or "custom-id" "id") (org-export-resolve-id-link link info)) | 198 | (condition-case nil |
| 199 | ("fuzzy" (org-export-resolve-fuzzy-link link info)) | 199 | (org-export-resolve-id-link link info) |
| 200 | (_ nil)))) | 200 | (org-link-broken nil)))) |
| 201 | info t)))) | 201 | info t)))) |
| 202 | 202 | ||
| 203 | (defun org-md--headline-title (style level title &optional anchor tags) | 203 | (defun org-md--headline-title (style level title &optional anchor tags) |
diff --git a/lisp/org/ox-publish.el b/lisp/org/ox-publish.el index 636bd0d2ae3..51e2352b4e8 100644 --- a/lisp/org/ox-publish.el +++ b/lisp/org/ox-publish.el | |||
| @@ -839,7 +839,7 @@ in `org-export-options-alist' or in export back-ends. In the | |||
| 839 | latter case, optional argument BACKEND has to be set to the | 839 | latter case, optional argument BACKEND has to be set to the |
| 840 | back-end where the option is defined, e.g., | 840 | back-end where the option is defined, e.g., |
| 841 | 841 | ||
| 842 | (org-publish-find-property file :subtitle 'latex) | 842 | (org-publish-find-property file :subtitle \\='latex) |
| 843 | 843 | ||
| 844 | Return value may be a string or a list, depending on the type of | 844 | Return value may be a string or a list, depending on the type of |
| 845 | PROPERTY, i.e. \"behavior\" parameter from `org-export-options-alist'." | 845 | PROPERTY, i.e. \"behavior\" parameter from `org-export-options-alist'." |
diff --git a/lisp/org/ox.el b/lisp/org/ox.el index 2a3edaa500f..a6209ee98f6 100644 --- a/lisp/org/ox.el +++ b/lisp/org/ox.el | |||
| @@ -1908,8 +1908,10 @@ Return a string." | |||
| 1908 | (org-element-property :archivedp data))) | 1908 | (org-element-property :archivedp data))) |
| 1909 | (let ((transcoder (org-export-transcoder data info))) | 1909 | (let ((transcoder (org-export-transcoder data info))) |
| 1910 | (or (and (functionp transcoder) | 1910 | (or (and (functionp transcoder) |
| 1911 | (broken-link-handler | 1911 | (if (eq type 'link) |
| 1912 | (funcall transcoder data nil info))) | 1912 | (broken-link-handler |
| 1913 | (funcall transcoder data nil info)) | ||
| 1914 | (funcall transcoder data nil info))) | ||
| 1913 | ;; Export snippets never return a nil value so | 1915 | ;; Export snippets never return a nil value so |
| 1914 | ;; that white spaces following them are never | 1916 | ;; that white spaces following them are never |
| 1915 | ;; ignored. | 1917 | ;; ignored. |