From: Stefan Kangas Date: Thu, 16 Jun 2022 07:48:18 +0000 (+0200) Subject: Make artist-version variable obsolete X-Git-Tag: emacs-29.0.90~1447^2~1708^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fdd4dc6bdf6ba6e333f81cc19b241105adfa836b;p=emacs.git 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. --- diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el index 9912c0fcfcb..5ba18dfed13 100644 --- a/lisp/textmodes/artist.el +++ b/lisp/textmodes/artist.el @@ -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)