diff options
Diffstat (limited to 'lisp/calendar/cal-iso.el')
-rw-r--r-- | lisp/calendar/cal-iso.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/calendar/cal-iso.el b/lisp/calendar/cal-iso.el index 8568afeb054..884c15db6c7 100644 --- a/lisp/calendar/cal-iso.el +++ b/lisp/calendar/cal-iso.el @@ -3,7 +3,7 @@ ;; Copyright (C) 1995, 1997, 2001-2019 Free Software Foundation, Inc. ;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> -;; Maintainer: Glenn Morris <rgm@gnu.org> +;; Maintainer: emacs-devel@gnu.org ;; Keywords: calendar ;; Human-Keywords: ISO calendar, calendar, diary ;; Package: calendar @@ -129,9 +129,12 @@ Interactively, goes to the first day of the specified week." (calendar-iso-to-absolute date))) (or noecho (calendar-iso-print-date))) -(defvar date) +;; The function below is designed to be used from sexp diary entries, +;; and may be present in users' diary files, so suppress the warning +;; about this prefix-less dynamic variable. +(with-suppressed-warnings ((lexical date)) + (defvar date)) -;; To be called from diary-list-sexp-entries, where DATE is bound. ;;;###diary-autoload (defun diary-iso-date () "ISO calendar equivalent of date diary entry." |