Earl Chase <[email protected]> writes:

>> Also, update the commit message.
>
> I updated the commit message. Are manual updates supposed to go into
> the commit message?

Yes. Manual is just anther source file :)

> Subject: [PATCH] lisp/ox-html: New export option for file links
> ...
> * lisp/ox-publish (org-publish-file-relative-name): Use

lisp/ox-publish.el

> +#+begin_example
> +"<a href=\"https://orgmode.org/contribute\";>Contributing to Org</a>"
> +#+end_example

Maybe just
<a href=....> without all those Elisp escapes.

> --- a/lisp/ox-html.el
> +++ b/lisp/ox-html.el
> @@ -44,6 +44,7 @@
>  ;;; Function Declarations
>  
>  (declare-function htmlize-region "ext:htmlize" (beg end))
> +(declare-function org-export-file-relative-name-maybe "ox-publish" (filename 
> base-directory))

Declare is no longer needed here.

> diff --git a/lisp/ox-publish.el b/lisp/ox-publish.el
> index d51d68f31..27c1a3086 100644
> --- a/lisp/ox-publish.el
> +++ b/lisp/ox-publish.el
> @@ -45,6 +45,7 @@
>  (require 'ox)
>  
>  (declare-function org-at-heading-p "org" (&optional _))
> +(declare-function org-export-file-relative-name-maybe "ox-publish" (filename 
> base-directory))

Declare is no longer needed here.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to