]> git.eshelyaron.com Git - emacs.git/commitdiff
edebug: remove ancient code for ancient XEmacs support libs
authorGlenn Morris <rgm@gnu.org>
Fri, 17 Jan 2020 05:15:02 +0000 (21:15 -0800)
committerGlenn Morris <rgm@gnu.org>
Fri, 17 Jan 2020 05:15:02 +0000 (21:15 -0800)
* lisp/emacs-lisp/edebug.el (edebug--require-cl-read): Remove.
(edebug-setup-hook, cl-read-load-hooks): Don't modify.
(edebug-unload-function): Don't modify cl-read-load-hooks.

lisp/emacs-lisp/edebug.el

index b8d2fb5beb55a9a56e07459e9f9df930f6f672d9..0aa6caa37e15508d2b3a69eb6f1ed3a7b818b9cb 100644 (file)
@@ -4518,17 +4518,6 @@ With prefix argument, make it a temporary breakpoint."
   (edebug-modify-breakpoint t condition arg))
 
 (easy-menu-define edebug-menu edebug-mode-map "Edebug menus" edebug-mode-menus)
-\f
-;;; Autoloading of Edebug accessories
-
-;; edebug-cl-read and cl-read are available from liberte@cs.uiuc.edu
-(defun edebug--require-cl-read ()
-  (require 'edebug-cl-read))
-
-(if (featurep 'cl-read)
-    (add-hook 'edebug-setup-hook #'edebug--require-cl-read)
-  ;; The following causes edebug-cl-read to be loaded when you load cl-read.el.
-  (add-hook 'cl-read-load-hooks #'edebug--require-cl-read))
 
 \f
 ;;; Finalize Loading
@@ -4564,7 +4553,6 @@ With prefix argument, make it a temporary breakpoint."
       (run-with-idle-timer 0 nil #'(lambda () (unload-feature 'edebug)))))
   (remove-hook 'called-interactively-p-functions
                #'edebug--called-interactively-skip)
-  (remove-hook 'cl-read-load-hooks #'edebug--require-cl-read)
   (edebug-uninstall-read-eval-functions)
   ;; Continue standard unloading.
   nil)