summaryrefslogtreecommitdiff
path: root/lisp/htmlfontify.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-08-13 13:00:46 +0200
committerStefan Kangas <stefan@marxist.se>2022-08-13 13:00:46 +0200
commit764d832bfaffe5a0069f4acc7a5aff465c36e801 (patch)
treef5181bae14734b08458b202fdf5dbb697a5d5413 /lisp/htmlfontify.el
parent4530368c06fef6a289b313b35c39e30629104020 (diff)
downloademacs-764d832bfaffe5a0069f4acc7a5aff465c36e801.tar.gz
emacs-764d832bfaffe5a0069f4acc7a5aff465c36e801.tar.bz2
emacs-764d832bfaffe5a0069f4acc7a5aff465c36e801.zip
Make htmlfontify-version variable obsolete
* lisp/htmlfontify.el (htmlfontify-version): Make obolete. (hfy-meta-tags): Don't use above obsolete variable.
Diffstat (limited to 'lisp/htmlfontify.el')
-rw-r--r--lisp/htmlfontify.el11
1 files 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 "<meta name=\"generator\" content=\"emacs %s; htmlfontify %0.2f\" />"
- emacs-version htmlfontify-version)
+ (format "<meta name=\"generator\" content=\"emacs %s; htmlfontify\" />"
+ 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)