From 251e7c30180223f636f2c67fede92e78e737466b Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 5 Jun 2022 18:23:17 +0200 Subject: [PATCH] Don't generate separate autoload file for htmlfontify * lisp/hfy-cmap.el: Update file local to no longer put htmlfontify autoloads in htmlfontify-loaddefs.el. * lisp/htmlfontify.el (htmlfontify-loaddefs): Don't require. * test/lisp/htmlfontify-tests.el (htmlfontify-autoload): Delete test (bug#52400). --- lisp/hfy-cmap.el | 4 ---- lisp/htmlfontify.el | 2 -- test/lisp/htmlfontify-tests.el | 9 --------- 3 files changed, 15 deletions(-) diff --git a/lisp/hfy-cmap.el b/lisp/hfy-cmap.el index 258502bfe70..c08359696d5 100644 --- a/lisp/hfy-cmap.el +++ b/lisp/hfy-cmap.el @@ -859,8 +859,4 @@ Loads the variable `hfy-rgb-txt-color-map', which is used by (provide 'hfy-cmap) -;; Local Variables: -;; generated-autoload-file: "htmlfontify-loaddefs.el" -;; End: - ;;; hfy-cmap.el ends here diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el index 89cacdff21b..dbcc152c15d 100644 --- a/lisp/htmlfontify.el +++ b/lisp/htmlfontify.el @@ -81,8 +81,6 @@ (eval-when-compile (require 'cl-lib)) (require 'cus-edit) -(require 'htmlfontify-loaddefs) - (defconst htmlfontify-version 0.21) (defconst hfy-meta-tags diff --git a/test/lisp/htmlfontify-tests.el b/test/lisp/htmlfontify-tests.el index fdfe996b033..5c1f053066b 100644 --- a/test/lisp/htmlfontify-tests.el +++ b/test/lisp/htmlfontify-tests.el @@ -21,15 +21,6 @@ (require 'ert) (require 'htmlfontify) -(ert-deftest htmlfontify-autoload () - "Tests to see whether reftex-auc has been autoloaded" - (should - (fboundp 'htmlfontify-load-rgb-file)) - (should - (autoloadp - (symbol-function - 'htmlfontify-load-rgb-file)))) - (ert-deftest htmlfontify-bug25468 () "Tests that htmlfontify can be loaded even if no shell is available (Bug#25468)." -- 2.39.2