From: Stefan Kangas <stefan@marxist.se>
To: 52400@debbugs.gnu.org
Subject: bug#52400: [PATCH] Don't generate separate autoload file for htmlfontify.el
Date: Thu, 9 Dec 2021 18:07:24 -0800 [thread overview]
Message-ID: <CADwFkmkjSY6k59-0jPb2PWNUc=9F3pcMLjjAvGVPEfkszXFB3g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 198 bytes --]
Severity: wishlist
Is there any need for generating a separate file htmlfontify-loaddefs.el
file given that it only contains three definitions? Or should we just
get rid of it as in the attached?
[-- Attachment #2: 0001-Don-t-generate-separate-autoload-file-for-htmlfontif.patch --]
[-- Type: text/x-diff, Size: 1879 bytes --]
From d7436b28a2a9324deffacd7fe2db5a9b9ae628a5 Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefan@marxist.se>
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
next reply other threads:[~2021-12-10 2:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-10 2:07 Stefan Kangas [this message]
2021-12-10 8:42 ` bug#52400: [PATCH] Don't generate separate autoload file for htmlfontify.el Eli Zaretskii
2021-12-10 13:32 ` Stefan Kangas
2021-12-10 13:37 ` Eli Zaretskii
2021-12-10 15:22 ` Stefan Kangas
2021-12-10 16:46 ` Eli Zaretskii
2021-12-10 19:45 ` Stefan Kangas
2022-06-05 16:24 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkmkjSY6k59-0jPb2PWNUc=9F3pcMLjjAvGVPEfkszXFB3g@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=52400@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.