branch: externals/vc-jj
commit d24fd368f43dd5bb05ffe062ad98c02a3771497e
Author: Javier Olaechea <pir...@gmail.com>
Commit: Javier Olaechea <pir...@gmail.com>

    Fix byte-compilation warning about function not know to be defined
    
    ```shell
    emacs -batch -Q -L . --eval '(setq byte-compile-error-on-warn t)' -f 
batch-byte-compile vc-jj.el
    
    In toplevel form:
    vc-jj.el:735:6: Error: the function ‘vc-annotate-convert-time’ is not known 
to be defined.
    make: *** [Makefile:11: vc-jj.elc] Error 1
    ```
---
 vc-jj.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/vc-jj.el b/vc-jj.el
index adc29e6e80..85ed2e2bfa 100644
--- a/vc-jj.el
+++ b/vc-jj.el
@@ -725,6 +725,8 @@ For jj, modify `.gitignore' and call `jj untrack' or `jj 
track'."
 The regex matches each line's commit information and captures
 four groups: change id, author, datetime, line number.")
 
+(declare-function vc-annotate-convert-time "vc-annotate" (&optional time))
+
 (defun vc-jj-annotate-time ()
   "Return the time for the annotated line."
   (and-let*

Reply via email to