]> git.eshelyaron.com Git - emacs.git/commitdiff
todo-mode.el compilation warning fix
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 12 Jun 2019 23:12:23 +0000 (01:12 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 12 Jun 2019 23:12:23 +0000 (01:12 +0200)
* lisp/calendar/todo-mode.el (hl-line-highlight): Declare to avoid
compilation warning.

lisp/calendar/todo-mode.el

index 7169ef41aefd4e4f46813731efe8341aa1945e54..909f59f19c818edd319c9cd07907df79cebeb4aa 100644 (file)
@@ -874,6 +874,7 @@ category."
   (todo-forward-category t))
 
 (defvar todo-categories-buffer)
+(declare-function hl-line-highlight "hl-line" ())
 
 (defun todo-jump-to-category (&optional file where)
   "Prompt for a category in a todo file and jump to it.