From b1f973c7c5ed6591bb7132b9254ee549f44162d2 Mon Sep 17 00:00:00 2001 From: Michael Heerdegen Date: Thu, 26 Aug 2021 11:21:14 +0200 Subject: [PATCH] Test warnings in diary-lib --- lisp/calendar/diary-lib.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index f57fe26058..8044768476 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el @@ -1,4 +1,4 @@ -;;; diary-lib.el --- diary functions -*- lexical-binding:t -*- +;;; diary-lib.el --- diary functions ;; Copyright (C) 1989-1990, 1992-1995, 2001-2021 Free Software ;; Foundation, Inc. @@ -726,7 +726,6 @@ diary-list-entries-1 MONTHS is an array of month names. SYMBOL marks diary entries of the type in question. ABSFUNC is a function that converts absolute dates to dates of the appropriate type." - (with-no-warnings (defvar number) (defvar list-only)) (let ((gdate original-date)) (dotimes (_ number) (diary-list-entries-2 -- 2.30.2