emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master fdd4dc6bdf 2/2: Make artist-version variable obsolete


From: Stefan Kangas
Subject: master fdd4dc6bdf 2/2: Make artist-version variable obsolete
Date: Thu, 16 Jun 2022 04:00:23 -0400 (EDT)

branch: master
commit fdd4dc6bdf6ba6e333f81cc19b241105adfa836b
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    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 9912c0fcfc..5ba18dfed1 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)
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]