projects
/
elisp
/
wanderlust.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1a6a32
)
(elmo-delete-if): Reduce loop strength in a while loop.
author
okazaki
<okazaki>
Mon, 13 Sep 2004 03:41:25 +0000
(
03:41
+0000)
committer
okazaki
<okazaki>
Mon, 13 Sep 2004 03:41:25 +0000
(
03:41
+0000)
elmo/elmo-util.el
patch
|
blob
|
history
diff --git
a/elmo/elmo-util.el
b/elmo/elmo-util.el
index
0e51f1e
..
68fb8ee
100644
(file)
--- a/
elmo/elmo-util.el
+++ b/
elmo/elmo-util.el
@@
-1113,9
+1113,9
@@
Emacs 19.28 or earlier does not have `unintern'."
(let (result)
(while lst
(unless (funcall pred (car lst))
- (setq result (nconc result (list (car lst)))))
+ (setq result (cons (car lst) result)))
(setq lst (cdr lst)))
- result))
+ (nreverse result)))
(defun elmo-list-delete (list1 list2 &optional delete-function)
"Delete by side effect any occurrences equal to elements of LIST1 from LIST2.