Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d301b413
Commit
d301b413
authored
Aug 10, 2012
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
parent
25e65510
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
2 deletions
+20
-2
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/emacs-lisp/cl-loaddefs.el
lisp/emacs-lisp/cl-loaddefs.el
+1
-1
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/cl-macs.el
+15
-1
No files found.
lisp/ChangeLog
View file @
d301b413
2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2012-08-10 Chong Yidong <cyd@gnu.org>
* progmodes/python.el (python-shell-get-process-name): Don't mess
...
...
lisp/emacs-lisp/cl-loaddefs.el
View file @
d301b413
...
...
@@ -260,7 +260,7 @@ Remove from SYMBOL's plist the property PROPNAME and its value.
;;;;;; cl-do cl-loop cl-return-from cl-return cl-block cl-etypecase
;;;;;; cl-typecase cl-ecase cl-case cl-load-time-value cl-eval-when
;;;;;; cl-destructuring-bind cl-function cl-defmacro cl-defun cl-gentemp
;;;;;; cl-gensym) "
cl-macs
" "
cl-macs.el
" "
37a13242a811078a7ae71578eeed4254
")
;;;;;; cl-gensym) "
cl-macs
" "
cl-macs.el
" "
9676d5517e8b9246c09fe78984c68bef
")
;;; Generated autoloads from cl-macs.el
(autoload 'cl-gensym "
cl-macs
" "
\
...
...
lisp/emacs-lisp/cl-macs.el
View file @
d301b413
...
...
@@ -731,7 +731,21 @@ Valid clauses are:
finally return EXPR, named NAME.
\(fn CLAUSE...)"
(
declare
(
debug
(
&rest
&or
symbolp
form
)))
(
declare
(
debug
(
&rest
&or
;; These are usually followed by a symbol, but it can
;; actually be any destructuring-bind pattern, which
;; would erroneously match `form'.
[[&or
"for"
"as"
"with"
"and"
]
sexp]
;; These are followed by expressions which could
;; erroneously match `symbolp'.
[[&or
"from"
"upfrom"
"downfrom"
"to"
"upto"
"downto"
"above"
"below"
"by"
"in"
"on"
"="
"across"
"repeat"
"while"
"until"
"always"
"never"
"thereis"
"collect"
"append"
"nconc"
"sum"
"count"
"maximize"
"minimize"
"if"
"unless"
"return"
]
form]
;; Simple default, which covers 99% of the cases.
symbolp
form
)))
(
if
(
not
(
memq
t
(
mapcar
'symbolp
(
delq
nil
(
delq
t
(
cl-copy-list
loop-args
))))))
`
(
cl-block
nil
(
while
t
,@
loop-args
))
(
let
((
cl--loop-args
loop-args
)
(
cl--loop-name
nil
)
(
cl--loop-bindings
nil
)
...
...
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