aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/diary-ins.el24
1 files changed, 14 insertions, 10 deletions
diff --git a/lisp/diary-ins.el b/lisp/diary-ins.el
index edf4d6e66c9..a1418479c7e 100644
--- a/lisp/diary-ins.el
+++ b/lisp/diary-ins.el
@@ -147,16 +147,20 @@ Prefix arg will make the entry nonmarking."
147 "Insert a cyclic diary entry starting at the date given by point. 147 "Insert a cyclic diary entry starting at the date given by point.
148Prefix arg will make the entry nonmarking." 148Prefix arg will make the entry nonmarking."
149 (interactive "P") 149 (interactive "P")
150 (make-diary-entry 150 (let* ((calendar-date-display-form
151 (format "%s(diary-cyclic %d %s)" 151 (if european-calendar-style
152 sexp-diary-entry-symbol 152 '(day " " month " " year)
153 (calendar-read "Repeat every how many days: " 153 '(month " " day " " year))))
154 '(lambda (x) (> x 0))) 154 (make-diary-entry
155 (calendar-date-string 155 (format "%s(diary-cyclic %d %s)"
156 (or (calendar-cursor-to-date) 156 sexp-diary-entry-symbol
157 (error "Cursor is not on a date!")) 157 (calendar-read "Repeat every how many days: "
158 nil t)) 158 '(lambda (x) (> x 0)))
159 arg)) 159 (calendar-date-string
160 (or (calendar-cursor-to-date)
161 (error "Cursor is not on a date!"))
162 nil t))
163 arg)))
160 164
161(defun insert-hebrew-diary-entry (arg) 165(defun insert-hebrew-diary-entry (arg)
162 "Insert a diary entry. 166 "Insert a diary entry.