summaryrefslogtreecommitdiff
path: root/test/lisp
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2021-09-04 08:28:57 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-09-04 09:12:10 +0200
commitca7e76c6f98cb09a686bcda7890ca10fd374fb4f (patch)
treeca1beeb29d8ee1240da5ddbff423dd68df8670ce /test/lisp
parentf9dcde3906b9c764b794d580d4d24691979f7d81 (diff)
downloademacs-ca7e76c6f98cb09a686bcda7890ca10fd374fb4f.tar.gz
emacs-ca7e76c6f98cb09a686bcda7890ca10fd374fb4f.tar.bz2
emacs-ca7e76c6f98cb09a686bcda7890ca10fd374fb4f.zip
Add diary-offset to diary-lib.el
* doc/emacs/calendar.texi: Document the change. * lisp/calendar/diary-lib.el (diary-offset): * test/lisp/calendar/icalendar-tests.el: Add a test (bug#50195).
Diffstat (limited to 'test/lisp')
-rw-r--r--test/lisp/calendar/icalendar-tests.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lisp/calendar/icalendar-tests.el b/test/lisp/calendar/icalendar-tests.el
index 6973f7e5c95..de2a8917581 100644
--- a/test/lisp/calendar/icalendar-tests.el
+++ b/test/lisp/calendar/icalendar-tests.el
@@ -1442,6 +1442,13 @@ RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=09;BYMONTHDAY=21
SUMMARY:ff birthday (%d years old)")
+ (icalendar-tests--test-export
+ nil
+ nil
+ "%%(diary-offset '(diary-float t 3 4) 1) asdf"
+ nil)
+
+
;; FIXME!
;; export 2004-10-28 monthly, weekly entries