Commit 731a00fb authored by Glenn Morris's avatar Glenn Morris
Browse files

(appt-make-list): Fix off-by-one error caused by

differing behavior of \n and ^ in strings.  (Bug#3385)
parent c66cd0ff
2009-06-22 Glenn Morris <rgm@gnu.org>
 
* calendar/appt.el (appt-make-list): Fix off-by-one error caused by
differing behavior of \n and ^ in strings. (Bug#3385)
* emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
 
* emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
......
......@@ -568,7 +568,7 @@ appointment package (if it is not already active)."
(match-end 0)))
;; Get the whole string for this appointment.
(appt-time-string
(substring time-string beg (if end (1- end))))
(substring time-string beg end))
(appt-time (list (appt-convert-time only-time)))
(time-msg (list appt-time appt-time-string)))
;; Add this appointment to appt-time-msg-list.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment