Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d08f4f8f
Commit
d08f4f8f
authored
Dec 04, 2014
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
parent
6194477a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/subr.el
lisp/subr.el
+0
-5
No files found.
lisp/ChangeLog
View file @
d08f4f8f
2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
* subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/shr.el (shr--extract-best-source): Ignore non-text children.
...
...
lisp/subr.el
View file @
d08f4f8f
...
...
@@ -222,11 +222,6 @@ Then evaluate RESULT to get return value, default nil.
,@
(
if
(
cdr
(
cdr
spec
))
`
((
setq
,
(
car
spec
)
nil
)
,@
(
cdr
(
cdr
spec
))))))))
(
defmacro
filter
(
condp
lst
)
"Return the list consisting of elements in LST for which CONDP is not nil."
`
(
delq
nil
(
mapcar
(
lambda
(
x
)
(
and
(
funcall
,
condp
x
)
x
))
,
lst
)))
(
defmacro
dotimes
(
spec
&rest
body
)
"Loop a certain number of times.
Evaluate BODY with VAR bound to successive integers running from 0,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment