aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-06-15 17:12:10 +0200
committerLars Ingebrigtsen2019-06-15 17:12:10 +0200
commitfab7b863efd42dd745983db6096651741ab93ecf (patch)
tree42203de524497e1b6bf042aee2efba7ac2bd8009
parenta43a0fc797f27cc0bfb0379f617e94b66c35a26e (diff)
downloademacs-fab7b863efd42dd745983db6096651741ab93ecf.tar.gz
emacs-fab7b863efd42dd745983db6096651741ab93ecf.zip
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.
-rw-r--r--lisp/obsolete/otodo-mode.el5
1 files changed, 3 insertions, 2 deletions
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."
925 "Major mode for editing TODO lists." 925 "Major mode for editing TODO lists."
926 (easy-menu-add todo-menu)) 926 (easy-menu-add todo-menu))
927 927
928(defvar date) 928(with-suppressed-warnings ((lexical date entry))
929(defvar entry) 929 (defvar date)
930 (defvar entry))
930 931
931;; t-c should be used from diary code, which requires calendar. 932;; t-c should be used from diary code, which requires calendar.
932(declare-function calendar-current-date "calendar" (&optional offset)) 933(declare-function calendar-current-date "calendar" (&optional offset))