emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/edebug.el


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/edebug.el
Date: Sat, 16 Jul 2005 17:18:55 -0400

Index: emacs/lisp/emacs-lisp/edebug.el
diff -c emacs/lisp/emacs-lisp/edebug.el:3.81 
emacs/lisp/emacs-lisp/edebug.el:3.82
*** emacs/lisp/emacs-lisp/edebug.el:3.81        Mon Jul 11 04:05:07 2005
--- emacs/lisp/emacs-lisp/edebug.el     Sat Jul 16 21:18:55 2005
***************
*** 243,251 ****
    `(put (quote ,symbol) 'edebug-form-spec (quote ,spec)))
  
  (defmacro def-edebug-form-spec (symbol spec-form)
!   "For compatibility with old version.  Use `def-edebug-spec' instead."
!   (message "Obsolete: use def-edebug-spec instead.")
    (def-edebug-spec symbol (eval spec-form)))
  
  (defun get-edebug-spec (symbol)
    ;; Get the spec of symbol resolving all indirection.
--- 243,251 ----
    `(put (quote ,symbol) 'edebug-form-spec (quote ,spec)))
  
  (defmacro def-edebug-form-spec (symbol spec-form)
!   "For compatibility with old version."
    (def-edebug-spec symbol (eval spec-form)))
+ (make-obsolete 'def-edebug-form-spec 'def-edebug-spec "22.1")
  
  (defun get-edebug-spec (symbol)
    ;; Get the spec of symbol resolving all indirection.
***************
*** 3651,3659 ****
  ;; Replace printing functions.
  
  ;; obsolete names
! (defalias 'edebug-install-custom-print-funcs 'edebug-install-custom-print)
! (defalias 'edebug-reset-print-funcs 'edebug-uninstall-custom-print)
! (defalias 'edebug-uninstall-custom-print-funcs 'edebug-uninstall-custom-print)
  
  (defun edebug-install-custom-print ()
    "Replace print functions used by Edebug with custom versions."
--- 3651,3662 ----
  ;; Replace printing functions.
  
  ;; obsolete names
! (define-obsolete-function-alias 'edebug-install-custom-print-funcs
!     'edebug-install-custom-print "22.1")
! (define-obsolete-function-alias 'edebug-reset-print-funcs
!     'edebug-uninstall-custom-print "22.1")
! (define-obsolete-function-alias 'edebug-uninstall-custom-print-funcs
!     'edebug-uninstall-custom-print "22.1")
  
  (defun edebug-install-custom-print ()
    "Replace print functions used by Edebug with custom versions."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]