Skip to content

Commit

Permalink
Rename an internal function name for consistency
Browse files Browse the repository at this point in the history
The "maybe" function names *end* with `-maybe`.
  • Loading branch information
kaushalmodi committed Jan 4, 2022
1 parent 0c5c95f commit 49877e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ox-hugo.el
Original file line number Diff line number Diff line change
Expand Up @@ -2425,7 +2425,7 @@ and rewrite link paths to make blogging more seamless."
""))))

;;;;; Helpers
(defun org-hugo--maybe-copy-resources (info)
(defun org-hugo--copy-resources-maybe (info)
"Copy resources to the bundle directory if needed.
INFO is a plist used as a communication channel."
Expand Down Expand Up @@ -2929,7 +2929,7 @@ INFO is a plist holding export options."
BODY is the result of the export.
INFO is a plist holding export options."
;; Copy the page resources to the bundle directory.
(org-hugo--maybe-copy-resources info)
(org-hugo--copy-resources-maybe info)
;; (message "[ox-hugo body filter] ITEM %S" (org-entry-get (point) "ITEM"))
;; (message "[ox-hugo body filter] TAGS: %S" (org-entry-get (point) "TAGS"))
;; (message "[ox-hugo body filter] ALLTAGS: %S" (org-entry-get (point) "ALLTAGS"))
Expand Down

0 comments on commit 49877e2

Please sign in to comment.