diff options
author | Case Duckworth | 2021-04-22 09:59:31 -0500 |
---|---|---|
committer | Case Duckworth | 2021-04-22 09:59:31 -0500 |
commit | 32e2fba6daf0c9f461dc8cd79f6bb781cd7c55ce (patch) | |
tree | 442f8b2d7d63900269e7bbc53c6462f1a29e0af1 /lisp | |
parent | Add macro `with-message' (diff) | |
download | emacs-32e2fba6daf0c9f461dc8cd79f6bb781cd7c55ce.tar.gz emacs-32e2fba6daf0c9f461dc8cd79f6bb781cd7c55ce.zip |
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.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/acdw-org.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/acdw-org.el b/lisp/acdw-org.el index 13a1b88..bb72eb8 100644 --- a/lisp/acdw-org.el +++ b/lisp/acdw-org.el | |||
@@ -27,7 +27,7 @@ ELEMENT should be a list like that returned by `org-element-context'." | |||
27 | ;; MAYBE: Use `org-element-lineage'. | 27 | ;; MAYBE: Use `org-element-lineage'. |
28 | (when-let* ((parent (org-element-property :parent element))) | 28 | (when-let* ((parent (org-element-property :parent element))) |
29 | (or (eq type (car parent)) | 29 | (or (eq type (car parent)) |
30 | (unpackaged/org-element-descendant-of type parent)))) | 30 | (acdw-org/element-descendant-of type parent)))) |
31 | 31 | ||
32 | (defun acdw-org/return-dwim (&optional default) | 32 | (defun acdw-org/return-dwim (&optional default) |
33 | "A helpful replacement for `org-return'. With prefix, call `org-return'. | 33 | "A helpful replacement for `org-return'. With prefix, call `org-return'. |
@@ -241,6 +241,6 @@ the deletion might narrow the column." | |||
241 | (interactive "p") | 241 | (interactive "p") |
242 | (if (org-table-check-inside-data-field 'noerror) | 242 | (if (org-table-check-inside-data-field 'noerror) |
243 | (org-table-copy-down n) | 243 | (org-table-copy-down n) |
244 | (unpackaged/org-return-dwim n))) | 244 | (acdw-org/return-dwim n))) |
245 | 245 | ||
246 | (provide 'acdw-org) | 246 | (provide 'acdw-org) |