mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-11 08:30:45 -08:00
Merge from origin/emacs-25
9ba51edDocument buffer-swap-text+save-excursion interaction452aa94Fix eieio vs cl-generic incompatibilities found in Rudel (bug...248d5ddInclude cl-generic in package--builtin-versions (bug#22817)8f5a8b6Improve timing in `tramp-test29-environment-variables'05ba7a0Add test for handling environment variables in Trampe393d4f* lisp/emacs-lisp/package.el (describe-package-1) (package-st...5e38887; * lisp/net/tramp.el: Fix 2010-10-04 comment typo. (Bug#23913)90f2169; Spelling fixes069fc05Improve documentation of search functions0a0144aDelete environment variables in Tramp when neededf624671Add "New in Emacs 25" section to the FAQ658daf9Fix 'vertical-motion' in non-interactive sessions686b520Fix memory leak in imagemagick-types4069b71Update ELisp manual to match 'string-collate-equalp' doc string1b2d6a6Clarify docstring of find-feature-regexpaac62a6Add details to cl-lib defining macros' docstringsd6aa4daClarify doc string of 'save-buffer'03bcf11Un-confuse doc string of 'string-collate-equalp'c53135bClarify documentation of 'mouse-on-link-p' # Conflicts: # lisp/emacs-lisp/eieio-core.el
This commit is contained in:
commit
6b780a2e97
22 changed files with 467 additions and 119 deletions
|
|
@ -327,6 +327,20 @@ FORM is of the form (ARGS . BODY)."
|
|||
Like normal `defun', except ARGLIST allows full Common Lisp conventions,
|
||||
and BODY is implicitly surrounded by (cl-block NAME ...).
|
||||
|
||||
The full form of a Common Lisp function argument list is
|
||||
|
||||
(VAR...
|
||||
[&optional (VAR [INITFORM [SVAR]])...]
|
||||
[&rest|&body VAR]
|
||||
[&key (([KEYWORD] VAR) [INITFORM [SVAR]])... [&allow-other-keys]]
|
||||
[&aux (VAR [INITFORM])...])
|
||||
|
||||
VAR maybe be replaced recursively with an argument list for
|
||||
destructing, `&whole' is supported within these sublists. If
|
||||
SVAR, INITFORM, and KEYWORD are all omitted, then `(VAR)' may be
|
||||
written simply `VAR'. See the Info node `(cl)Argument Lists' for
|
||||
more details.
|
||||
|
||||
\(fn NAME ARGLIST [DOCSTRING] BODY...)"
|
||||
(declare (debug
|
||||
;; Same as defun but use cl-lambda-list.
|
||||
|
|
@ -406,6 +420,21 @@ and BODY is implicitly surrounded by (cl-block NAME ...).
|
|||
Like normal `defmacro', except ARGLIST allows full Common Lisp conventions,
|
||||
and BODY is implicitly surrounded by (cl-block NAME ...).
|
||||
|
||||
The full form of a Common Lisp macro argument list is
|
||||
|
||||
(VAR...
|
||||
[&optional (VAR [INITFORM [SVAR]])...]
|
||||
[&rest|&body VAR]
|
||||
[&key (([KEYWORD] VAR) [INITFORM [SVAR]])... [&allow-other-keys]]
|
||||
[&aux (VAR [INITFORM])...]
|
||||
[&environment VAR])
|
||||
|
||||
VAR maybe be replaced recursively with an argument list for
|
||||
destructing, `&whole' is supported within these sublists. If
|
||||
SVAR, INITFORM, and KEYWORD are all omitted, then `(VAR)' may be
|
||||
written simply `VAR'. See the Info node `(cl)Argument Lists' for
|
||||
more details.
|
||||
|
||||
\(fn NAME ARGLIST [DOCSTRING] BODY...)"
|
||||
(declare (debug
|
||||
(&define name cl-macro-list cl-declarations-or-string def-body))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue