mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-09 15:50:40 -08:00
Use declare' in lambda' and mis minor changes.
* lisp/subr.el (lambda): Use declare. * lisp/emacs-lisp/lisp-mode.el (lambda): * lisp/emacs-lisp/edebug.el (lambda): Move properties to its definition. * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unhook-expire-days): * lisp/gnus/gnus-demon.el (gnus-demon-init): Don't bother with type-of.
This commit is contained in:
parent
53a63be64d
commit
a179e3f7b4
9 changed files with 34 additions and 24 deletions
|
|
@ -2010,12 +2010,6 @@ expressions; a `progn' form will be returned enclosing these forms."
|
|||
;; A macro is allowed by Emacs.
|
||||
(def-edebug-spec function (&or symbolp lambda-expr))
|
||||
|
||||
;; lambda is a macro in emacs 19.
|
||||
(def-edebug-spec lambda (&define lambda-list
|
||||
[&optional stringp]
|
||||
[&optional ("interactive" interactive)]
|
||||
def-body))
|
||||
|
||||
;; A macro expression is a lambda expression with "macro" prepended.
|
||||
(def-edebug-spec macro (&define "lambda" lambda-list def-body))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue