Make artist-version variable obsolete

* lisp/textmodes/artist.el (artist-version): Make obsolete.  This has
not been updated in nearly two decades; use the Emacs version instead.
(artist-submit-bug-report): Don't use above obsolete variable.
This commit is contained in:
Stefan Kangas 2022-06-16 09:48:18 +02:00
parent e964705921
commit fdd4dc6bdf

View file

@ -184,7 +184,6 @@
;; Variables
(defconst artist-version "1.2.6")
(defconst artist-maintainer-address "tab@lysator.liu.se, bug-gnu-emacs@gnu.org")
(defvar x-pointer-crosshair)
@ -5361,7 +5360,7 @@ The event, EV, is the mouse event."
(setq vars (delq x vars)))) vars)
(reporter-submit-bug-report
artist-maintainer-address
(concat "artist.el " artist-version)
(concat "artist.el in Emacs " emacs-version)
vars
nil nil
(concat "Hello Tomas,\n\n"
@ -5369,6 +5368,9 @@ The event, EV, is the mouse event."
(define-obsolete-function-alias 'artist-uniq #'seq-uniq "28.1")
(defconst artist-version "1.2.6")
(make-obsolete-variable 'artist-version 'emacs-version "29.1")
(provide 'artist)