From: Lars Ingebrigtsen Date: Sat, 15 Jun 2019 15:12:10 +0000 (+0200) Subject: Suppress compilation warnings in obsolete/otodo-mode.el X-Git-Tag: emacs-27.0.90~2507 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fab7b863efd42dd745983db6096651741ab93ecf;p=emacs.git 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. --- diff --git a/lisp/obsolete/otodo-mode.el b/lisp/obsolete/otodo-mode.el index 7e9cc231d3a..7a0adc81a97 100644 --- a/lisp/obsolete/otodo-mode.el +++ b/lisp/obsolete/otodo-mode.el @@ -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))