gmm-utils.el (gmm-flet, gmm-labels): Add edebug spec
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 7 Feb 2014 04:12:21 +0000 (04:12 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 7 Feb 2014 04:12:21 +0000 (04:12 +0000)
lisp/ChangeLog
lisp/gmm-utils.el

index 81be6a5..a5491c1 100644 (file)
@@ -1,3 +1,7 @@
+2014-02-07  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gmm-utils.el (gmm-flet, gmm-labels): Add edebug spec.
+
 2014-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-srvr.el (gnus-server-toggle-cloud-server): New command and
 2014-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-srvr.el (gnus-server-toggle-cloud-server): New command and
index 459a786..1355406 100644 (file)
@@ -445,6 +445,7 @@ the function cell of FUNCs rather than their value cell.
         ,@body)
     `(flet ,bindings ,@body)))
 (put 'gmm-flet 'lisp-indent-function 1)
         ,@body)
     `(flet ,bindings ,@body)))
 (put 'gmm-flet 'lisp-indent-function 1)
+(put 'gmm-flet 'edebug-form-spec '((&rest (sexp sexp &rest form)) &rest form))
 
 (defmacro gmm-labels (bindings &rest body)
   "Make temporary function bindings.
 
 (defmacro gmm-labels (bindings &rest body)
   "Make temporary function bindings.
@@ -457,6 +458,7 @@ rather than relying on `lexical-binding'.
   `(,(progn (require 'cl) (if (fboundp 'cl-labels) 'cl-labels 'labels))
     ,bindings ,@body))
 (put 'gmm-labels 'lisp-indent-function 1)
   `(,(progn (require 'cl) (if (fboundp 'cl-labels) 'cl-labels 'labels))
     ,bindings ,@body))
 (put 'gmm-labels 'lisp-indent-function 1)
+(put 'gmm-labels 'edebug-form-spec '((&rest (sexp sexp &rest form)) &rest form))
 
 (provide 'gmm-utils)
 
 
 (provide 'gmm-utils)