From d7436b28a2a9324deffacd7fe2db5a9b9ae628a5 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 10 Dec 2021 02:47:35 +0100 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. --- 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 b7de65f5b7..bd4eafc5d2 100644 --- a/lisp/hfy-cmap.el +++ b/lisp/hfy-cmap.el @@ -859,8 +859,4 @@ hfy-fallback-color-values (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 8dc4cce323..3b72e5e6b1 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 15798319a1..698c6b498e 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.30.2