2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
+ * textmodes/remember.el (remember-diary-extract-entries):
+ Avoid add-to-list.
+
* progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
an instruction.
(goto-char (point-min))
(let (list)
(while (re-search-forward "^DIARY:\\s-*\\(.+\\)" nil t)
- (add-to-list 'list (remember-diary-convert-entry (match-string 1))))
+ (push (remember-diary-convert-entry (match-string 1)) list))
(when list
(diary-make-entry (mapconcat 'identity list "\n")
nil remember-diary-file))