mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
* lisp/textmodes/remember.el (remember-diary-extract-entries):
Avoid add-to-list.
This commit is contained in:
parent
fc54bdd599
commit
c6dab55f63
@ -1,5 +1,8 @@
|
||||
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.
|
||||
|
||||
|
@ -535,7 +535,7 @@ If this is nil, then `diary-file' will be used instead."
|
||||
(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))
|
||||
|
Loading…
Reference in New Issue
Block a user