diff options
| author | Juanma Barranquero | 2005-07-16 21:20:32 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-07-16 21:20:32 +0000 |
| commit | e41acc77b896f6516412c05d9e8822752de9130b (patch) | |
| tree | a7537e9f828951fe6773b8ca54a05b7ef8213a4b | |
| parent | b2e948ee1589c62a440157710ced3a28cdbe95ec (diff) | |
| download | emacs-e41acc77b896f6516412c05d9e8822752de9130b.tar.gz emacs-e41acc77b896f6516412c05d9e8822752de9130b.zip | |
(def-edebug-form-spec): Add obsolescence info and delete redundant message. Doc
fix.
(edebug-install-custom-print-funcs, edebug-reset-print-funcs,
edebug-uninstall-custom-print-funcs): Define as obsolete aliases.
| -rw-r--r-- | lisp/ChangeLog | 16 | ||||
| -rw-r--r-- | lisp/emacs-lisp/edebug.el | 13 |
2 files changed, 22 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0f383206986..68134ce991a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2005-07-16 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): | ||
| 4 | Fix typo in docstring. | ||
| 5 | (byte-compile-interactive-only-functions): Add `insert-buffer' and | ||
| 6 | `insert-file-literally'. | ||
| 7 | |||
| 8 | * emacs-lisp/edebug.el (def-edebug-form-spec): Add obsolescence | ||
| 9 | info and delete redundant message. Doc fix. | ||
| 10 | (edebug-install-custom-print-funcs, edebug-reset-print-funcs) | ||
| 11 | (edebug-uninstall-custom-print-funcs): Define as obsolete aliases. | ||
| 12 | |||
| 1 | 2005-07-16 Richard M. Stallman <rms@gnu.org> | 13 | 2005-07-16 Richard M. Stallman <rms@gnu.org> |
| 2 | 14 | ||
| 3 | * emacs-lisp/bytecomp.el (byte-compile-and-recursion): New function. | 15 | * emacs-lisp/bytecomp.el (byte-compile-and-recursion): New function. |
| @@ -50,7 +62,7 @@ | |||
| 50 | 62 | ||
| 51 | * mail/uce.el (uce-reply-to-uce): Replace beginning-of-buffer | 63 | * mail/uce.el (uce-reply-to-uce): Replace beginning-of-buffer |
| 52 | and insert-file. | 64 | and insert-file. |
| 53 | 65 | ||
| 54 | * mail/supercite.el (sc-no-blank-line-or-header): Avoid warning. | 66 | * mail/supercite.el (sc-no-blank-line-or-header): Avoid warning. |
| 55 | (sc-ask): Avoid warnings. | 67 | (sc-ask): Avoid warnings. |
| 56 | 68 | ||
| @@ -75,7 +87,7 @@ | |||
| 75 | * emacs-lisp/checkdoc.el (checkdoc-make-overlay) | 87 | * emacs-lisp/checkdoc.el (checkdoc-make-overlay) |
| 76 | (checkdoc-overlay-put, checkdoc-delete-overlay) | 88 | (checkdoc-overlay-put, checkdoc-delete-overlay) |
| 77 | (checkdoc-overlay-start, checkdoc-overlay-end) | 89 | (checkdoc-overlay-start, checkdoc-overlay-end) |
| 78 | (checkdoc-mode-line-update, checkdoc-char=): | 90 | (checkdoc-mode-line-update, checkdoc-char=): |
| 79 | Define such that compiler knows they are defined. | 91 | Define such that compiler knows they are defined. |
| 80 | (checkdoc-call-eval-buffer): Deleted. Use eval-buffer directly. | 92 | (checkdoc-call-eval-buffer): Deleted. Use eval-buffer directly. |
| 81 | (checkdoc-read-event): Deleted. Use read-event directly. | 93 | (checkdoc-read-event): Deleted. Use read-event directly. |
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 1a592709819..f80e9f36dd0 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el | |||
| @@ -243,9 +243,9 @@ Both SYMBOL and SPEC are unevaluated. The SPEC can be 0, t, a symbol | |||
| 243 | `(put (quote ,symbol) 'edebug-form-spec (quote ,spec))) | 243 | `(put (quote ,symbol) 'edebug-form-spec (quote ,spec))) |
| 244 | 244 | ||
| 245 | (defmacro def-edebug-form-spec (symbol spec-form) | 245 | (defmacro def-edebug-form-spec (symbol spec-form) |
| 246 | "For compatibility with old version. Use `def-edebug-spec' instead." | 246 | "For compatibility with old version." |
| 247 | (message "Obsolete: use def-edebug-spec instead.") | ||
| 248 | (def-edebug-spec symbol (eval spec-form))) | 247 | (def-edebug-spec symbol (eval spec-form))) |
| 248 | (make-obsolete 'def-edebug-form-spec 'def-edebug-spec "22.1") | ||
| 249 | 249 | ||
| 250 | (defun get-edebug-spec (symbol) | 250 | (defun get-edebug-spec (symbol) |
| 251 | ;; Get the spec of symbol resolving all indirection. | 251 | ;; Get the spec of symbol resolving all indirection. |
| @@ -3651,9 +3651,12 @@ Return the result of the last expression." | |||
| 3651 | ;; Replace printing functions. | 3651 | ;; Replace printing functions. |
| 3652 | 3652 | ||
| 3653 | ;; obsolete names | 3653 | ;; obsolete names |
| 3654 | (defalias 'edebug-install-custom-print-funcs 'edebug-install-custom-print) | 3654 | (define-obsolete-function-alias 'edebug-install-custom-print-funcs |
| 3655 | (defalias 'edebug-reset-print-funcs 'edebug-uninstall-custom-print) | 3655 | 'edebug-install-custom-print "22.1") |
| 3656 | (defalias 'edebug-uninstall-custom-print-funcs 'edebug-uninstall-custom-print) | 3656 | (define-obsolete-function-alias 'edebug-reset-print-funcs |
| 3657 | 'edebug-uninstall-custom-print "22.1") | ||
| 3658 | (define-obsolete-function-alias 'edebug-uninstall-custom-print-funcs | ||
| 3659 | 'edebug-uninstall-custom-print "22.1") | ||
| 3657 | 3660 | ||
| 3658 | (defun edebug-install-custom-print () | 3661 | (defun edebug-install-custom-print () |
| 3659 | "Replace print functions used by Edebug with custom versions." | 3662 | "Replace print functions used by Edebug with custom versions." |