From fdd4dc6bdf6ba6e333f81cc19b241105adfa836b Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 16 Jun 2022 09:48:18 +0200 Subject: [PATCH] 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. --- lisp/textmodes/artist.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 2.39.2