From 764d832bfaffe5a0069f4acc7a5aff465c36e801 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 13 Aug 2022 13:00:46 +0200 Subject: [PATCH] Make htmlfontify-version variable obsolete * lisp/htmlfontify.el (htmlfontify-version): Make obolete. (hfy-meta-tags): Don't use above obsolete variable. --- lisp/htmlfontify.el | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el index dbcc152c15d..bf7446f151a 100644 --- a/lisp/htmlfontify.el +++ b/lisp/htmlfontify.el @@ -81,11 +81,9 @@ (eval-when-compile (require 'cl-lib)) (require 'cus-edit) -(defconst htmlfontify-version 0.21) - (defconst hfy-meta-tags - (format "" - emacs-version htmlfontify-version) + (format "" + emacs-version) "The generator meta tag for this version of htmlfontify.") (defconst htmlfontify-manual "Htmlfontify Manual" @@ -2392,13 +2390,14 @@ You may also want to set `hfy-page-header' and `hfy-page-footer'." (let ((file (hfy-initfile))) (load file 'NOERROR nil nil) )) -;; Obsolete. - (defun hfy-interq (set-a set-b) "Return the intersection (using `eq') of two lists SET-A and SET-B." (declare (obsolete seq-intersection "28.1")) (nreverse (seq-intersection set-a set-b #'eq))) +(defconst htmlfontify-version 0.21) +(make-obsolete-variable 'htmlfontify-version 'emacs-version "29.1") + (define-obsolete-function-alias 'hfy-prop-invisible-p #'invisible-p "29.1") (provide 'htmlfontify) -- 2.39.5