mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 18:36:26 +00:00
Merge branch 'maint'
This commit is contained in:
commit
2498f996ea
|
@ -719,6 +719,7 @@ If BUFFER is non-nil, test it instead."
|
||||||
(unless label (user-error "Cannot edit remotely anonymous footnotes"))
|
(unless label (user-error "Cannot edit remotely anonymous footnotes"))
|
||||||
(let* ((definition (org-with-wide-buffer
|
(let* ((definition (org-with-wide-buffer
|
||||||
(org-footnote-goto-definition label)
|
(org-footnote-goto-definition label)
|
||||||
|
(backward-char)
|
||||||
(org-element-context)))
|
(org-element-context)))
|
||||||
(inline (eq (org-element-type definition) 'footnote-reference))
|
(inline (eq (org-element-type definition) 'footnote-reference))
|
||||||
(contents
|
(contents
|
||||||
|
@ -756,7 +757,9 @@ If BUFFER is non-nil, test it instead."
|
||||||
;; table's structure.
|
;; table's structure.
|
||||||
(when ,(org-element-lineage definition '(table-cell))
|
(when ,(org-element-lineage definition '(table-cell))
|
||||||
(while (search-forward "\n" nil t) (delete-char -1)))))
|
(while (search-forward "\n" nil t) (delete-char -1)))))
|
||||||
contents
|
(concat contents
|
||||||
|
(and (not (org-element-property :contents-begin definition))
|
||||||
|
" "))
|
||||||
'remote))
|
'remote))
|
||||||
;; Report success.
|
;; Report success.
|
||||||
t))
|
t))
|
||||||
|
|
Loading…
Reference in a new issue