Suppress compilation warnings in obsolete/otodo-mode.el

* lisp/obsolete/otodo-mode.el (lexical): Suppress warnings about
non-prefixed variables because this file is obsolete.
This commit is contained in:
Lars Ingebrigtsen 2019-06-15 17:12:10 +02:00
parent a43a0fc797
commit fab7b863ef

View file

@ -925,8 +925,9 @@ If INCLUDE-SEP is non-nil, return point after the separator."
"Major mode for editing TODO lists."
(easy-menu-add todo-menu))
(defvar date)
(defvar entry)
(with-suppressed-warnings ((lexical date entry))
(defvar date)
(defvar entry))
;; t-c should be used from diary code, which requires calendar.
(declare-function calendar-current-date "calendar" (&optional offset))