Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
544ab460
Commit
544ab460
authored
Mar 24, 2014
by
Daniel Colascione
Browse files
Backport &key-parsing improvement from trunk
parent
c3561529
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/cl-macs.el
+1
-2
No files found.
lisp/ChangeLog
View file @
544ab460
2014-03-24 Daniel Colascione <dancol@dancol.org>
* emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
instead of cl-loop search function.
2014-03-24 Juanma Barranquero <lekktu@gmail.com>
* frameset.el (frameset--initial-params): Fix typo in parameter name.
...
...
lisp/emacs-lisp/cl-macs.el
View file @
544ab460
...
...
@@ -503,8 +503,7 @@ its argument list allows full Common Lisp conventions."
(
varg
(
if
(
consp
(
car
arg
))
(
cl-cadar
arg
)
(
car
arg
)))
(
def
(
if
(
cdr
arg
)
(
cadr
arg
)
(
or
(
car
cl--bind-defs
)
(
cadr
(
assq
varg
cl--bind-defs
)))))
(
look
`
(
cl-loop
for
cl--arg
on
,
restarg
by
#'
cddr
when
(
eq
(
car
cl--arg
)
',karg
)
return
cl--arg
)))
(
look
`
(
plist-member
,
restarg
',karg
)))
(
and
def
cl--bind-enquote
(
setq
def
`
',def
))
(
if
(
cddr
arg
)
(
let*
((
temp
(
or
(
nth
2
arg
)
(
make-symbol
"--cl-var--"
)))
...
...
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