]> git.eshelyaron.com Git - emacs.git/commitdiff
Make artist-version variable obsolete
authorStefan Kangas <stefan@marxist.se>
Thu, 16 Jun 2022 07:48:18 +0000 (09:48 +0200)
committerStefan Kangas <stefan@marxist.se>
Thu, 16 Jun 2022 07:59:42 +0000 (09:59 +0200)
* 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

index 9912c0fcfcb89f2a7876e52df42e71e00cb49f60..5ba18dfed1337009388717ab9d958ed81542a738 100644 (file)
 
 ;; 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)