From c107155e622fc0ae9a9ed1a3fc0ef6b1b084d6a2 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 25 Feb 2014 16:55:45 -0500 Subject: [PATCH] * lisp/emacs-lisp/edebug.el (defmacro): Fix debug spec. Fixes: debbugs:16868 --- lisp/ChangeLog | 2 ++ lisp/emacs-lisp/edebug.el | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 67256c588e7..c4ae355bbe5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2014-02-25 Glenn Morris + * 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): 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 ;; 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. -- 2.39.2