Fix wrong function calls

When I changed `unpackaged/org-element-descendent-of' to
`acdw-org/element-descendent-of' (honestly, to make it easier to see where the
definition of the function is), I didn't change all the references to that
function.
This commit is contained in:
Case Duckworth 2021-04-22 09:59:31 -05:00
parent 152daf82ef
commit 32e2fba6da
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ ELEMENT should be a list like that returned by `org-element-context'."
;; MAYBE: Use `org-element-lineage'.
(when-let* ((parent (org-element-property :parent element)))
(or (eq type (car parent))
(unpackaged/org-element-descendant-of type parent))))
(acdw-org/element-descendant-of type parent))))
(defun acdw-org/return-dwim (&optional default)
"A helpful replacement for `org-return'. With prefix, call `org-return'.
@ -241,6 +241,6 @@ the deletion might narrow the column."
(interactive "p")
(if (org-table-check-inside-data-field 'noerror)
(org-table-copy-down n)
(unpackaged/org-return-dwim n)))
(acdw-org/return-dwim n)))
(provide 'acdw-org)