diff options
| author | Philipp Stephani | 2020-06-10 15:46:12 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2020-06-10 15:46:12 +0200 |
| commit | 00f4b7215c63b02171d0a5c48d3da802a202463e (patch) | |
| tree | 76f5af4b6cc33b7e25b95b1bf3d381434bc5ec57 | |
| parent | 73be4d1ed5b190bd93e9bad6aebe43d0dea0d7d3 (diff) | |
| download | emacs-00f4b7215c63b02171d0a5c48d3da802a202463e.tar.gz emacs-00f4b7215c63b02171d0a5c48d3da802a202463e.zip | |
Slightly improve commit 73be4d1ed5b190bd93e9bad6aebe43d0dea0d7d3.
* lisp/emacs-lisp/cl-macs.el (cl-lambda-list, cl-lambda-list1)
(cl-macro-list, cl-macro-list1): Use exactly the same specification as
for &optional (sans the third optional list element).
| -rw-r--r-- | lisp/emacs-lisp/cl-macs.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index 45e814e859c..a3e72c4b00d 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el | |||
| @@ -199,7 +199,7 @@ The name is made by appending a number to PREFIX, default \"T\"." | |||
| 199 | [&optional ["&key" [cl-&key-arg &rest cl-&key-arg] | 199 | [&optional ["&key" [cl-&key-arg &rest cl-&key-arg] |
| 200 | &optional "&allow-other-keys"]] | 200 | &optional "&allow-other-keys"]] |
| 201 | [&optional ["&aux" &rest | 201 | [&optional ["&aux" &rest |
| 202 | &or (cl-lambda-arg &optional def-form) cl-lambda-arg]] | 202 | &or (cl-lambda-arg &optional def-form) arg]] |
| 203 | . [&or arg nil]))) | 203 | . [&or arg nil]))) |
| 204 | 204 | ||
| 205 | (def-edebug-spec cl-&optional-arg | 205 | (def-edebug-spec cl-&optional-arg |
| @@ -219,7 +219,7 @@ The name is made by appending a number to PREFIX, default \"T\"." | |||
| 219 | [&optional ["&key" cl-&key-arg &rest cl-&key-arg | 219 | [&optional ["&key" cl-&key-arg &rest cl-&key-arg |
| 220 | &optional "&allow-other-keys"]] | 220 | &optional "&allow-other-keys"]] |
| 221 | [&optional ["&aux" &rest | 221 | [&optional ["&aux" &rest |
| 222 | &or (cl-lambda-arg &optional def-form) cl-lambda-arg]] | 222 | &or (cl-lambda-arg &optional def-form) arg]] |
| 223 | . [&or arg nil]))) | 223 | . [&or arg nil]))) |
| 224 | 224 | ||
| 225 | (def-edebug-spec cl-type-spec sexp) | 225 | (def-edebug-spec cl-type-spec sexp) |
| @@ -402,7 +402,7 @@ and BODY is implicitly surrounded by (cl-block NAME ...). | |||
| 402 | arg]] | 402 | arg]] |
| 403 | &optional "&allow-other-keys"]] | 403 | &optional "&allow-other-keys"]] |
| 404 | [&optional ["&aux" &rest | 404 | [&optional ["&aux" &rest |
| 405 | &or (cl-lambda-arg &optional def-form) cl-lambda-arg]] | 405 | &or (cl-macro-arg &optional def-form) arg]] |
| 406 | [&optional "&environment" arg] | 406 | [&optional "&environment" arg] |
| 407 | ))) | 407 | ))) |
| 408 | 408 | ||
| @@ -421,7 +421,7 @@ and BODY is implicitly surrounded by (cl-block NAME ...). | |||
| 421 | arg]] | 421 | arg]] |
| 422 | &optional "&allow-other-keys"]] | 422 | &optional "&allow-other-keys"]] |
| 423 | [&optional ["&aux" &rest | 423 | [&optional ["&aux" &rest |
| 424 | &or (cl-lambda-arg &optional def-form) cl-lambda-arg]] | 424 | &or (cl-macro-arg &optional def-form) arg]] |
| 425 | . [&or arg nil]))) | 425 | . [&or arg nil]))) |
| 426 | 426 | ||
| 427 | ;;;###autoload | 427 | ;;;###autoload |