From c107155e622fc0ae9a9ed1a3fc0ef6b1b084d6a2 Mon Sep 17 00:00:00 2001 From: Glenn Morris <rgm@gnu.org> Date: Tue, 25 Feb 2014 16:55:45 -0500 Subject: * lisp/emacs-lisp/edebug.el (defmacro): Fix debug spec. Fixes: debbugs:16868 --- lisp/emacs-lisp/edebug.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lisp/emacs-lisp/edebug.el') diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index e4bcb4bf294..e2d38ffe858 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -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. -- cgit v1.2.3