* lisp/emacs-lisp/edebug.el (defmacro): Fix debug spec.

Fixes: debbugs:16868
This commit is contained in:
Glenn Morris 2014-02-25 16:55:45 -05:00
parent cc58740405
commit c107155e62
2 changed files with 5 additions and 4 deletions

View file

@ -1,5 +1,7 @@
2014-02-25 Glenn Morris <rgm@gnu.org>
* emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
* faces.el (tty-setup-hook, tty-run-terminal-initialization): Doc fixes.
* startup.el (term-setup-hook): Doc fix. Make obsolete.
* term/sun.el (sun-raw-prefix-hooks):

View file

@ -1,7 +1,6 @@
;;; edebug.el --- a source-level debugger for Emacs Lisp -*- lexical-binding: t -*-
;; Copyright (C) 1988-1995, 1997, 1999-2014 Free Software Foundation,
;; Inc.
;; Copyright (C) 1988-1995, 1997, 1999-2014 Free Software Foundation, Inc.
;; Author: Daniel LaLiberte <liberte@holonexus.org>
;; Maintainer: emacs-devel@gnu.org
@ -1936,11 +1935,11 @@ expressions; a `progn' form will be returned enclosing these forms."
[&optional stringp]
[&optional ("interactive" interactive)]
def-body))
;; FIXME? Isn't this missing the doc-string? Cf defun.
(def-edebug-spec defmacro
;; FIXME: Improve `declare' so we can Edebug gv-expander and
;; gv-setter declarations.
(&define name lambda-list [&optional ("declare" &rest sexp)] def-body))
(&define name lambda-list [&optional stringp]
[&optional ("declare" &rest sexp)] def-body))
(def-edebug-spec arglist lambda-list) ;; deprecated - use lambda-list.