* lisp/emacs-lisp/edebug.el (defmacro): Fix debug spec.
authorGlenn Morris <rgm@gnu.org>
Tue, 25 Feb 2014 21:55:45 +0000 (16:55 -0500)
committerGlenn Morris <rgm@gnu.org>
Tue, 25 Feb 2014 21:55:45 +0000 (16:55 -0500)
Fixes: debbugs:16868

lisp/ChangeLog
lisp/emacs-lisp/edebug.el

index 67256c5..c4ae355 100644 (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):
index e4bcb4b..e2d38ff 100644 (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.