[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/calendar/appt.el
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/calendar/appt.el |
Date: |
Thu, 15 Aug 2002 16:20:41 -0400 |
Index: emacs/lisp/calendar/appt.el
diff -c emacs/lisp/calendar/appt.el:1.44 emacs/lisp/calendar/appt.el:1.45
*** emacs/lisp/calendar/appt.el:1.44 Mon Aug 12 13:21:06 2002
--- emacs/lisp/calendar/appt.el Thu Aug 15 16:18:42 2002
***************
*** 455,461 ****
(while tmp-msg-list
(let* ((element (car tmp-msg-list))
(prompt-string (concat "Delete "
! (prin1-to-string (car (cdr element)))
" from list? "))
(test-input (y-or-n-p prompt-string)))
(setq tmp-msg-list (cdr tmp-msg-list))
--- 455,466 ----
(while tmp-msg-list
(let* ((element (car tmp-msg-list))
(prompt-string (concat "Delete "
! ;; We want to quote any doublequotes
! ;; in the string, as well as put
! ;; doublequotes around it.
! (prin1-to-string
! (substring-no-properties
! (car (cdr element)) 0))
" from list? "))
(test-input (y-or-n-p prompt-string)))
(setq tmp-msg-list (cdr tmp-msg-list))
***************
*** 512,520 ****
(while (and entry-list
(calendar-date-equal
(calendar-current-date) (car (car entry-list))))
! (let ((time-string (substring (prin1-to-string
! (cadr (car entry-list))) 1 -1)))
!
(while (string-match
"\\([0-9]?[0-9]:[0-9][0-9]\\(am\\|pm\\)?\\).*"
time-string)
--- 517,523 ----
(while (and entry-list
(calendar-date-equal
(calendar-current-date) (car (car entry-list))))
! (let ((time-string (cadr (car entry-list))))
(while (string-match
"\\([0-9]?[0-9]:[0-9][0-9]\\(am\\|pm\\)?\\).*"
time-string)