diff options
| author | Stefan Kangas | 2022-06-16 09:48:18 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-06-16 09:59:42 +0200 |
| commit | fdd4dc6bdf6ba6e333f81cc19b241105adfa836b (patch) | |
| tree | 1657ef0d09941492a0cf383e5ecee2c18d5d7a6e | |
| parent | e9647059212116b46cb3e44e398d4db3805f94f7 (diff) | |
| download | emacs-fdd4dc6bdf6ba6e333f81cc19b241105adfa836b.tar.gz emacs-fdd4dc6bdf6ba6e333f81cc19b241105adfa836b.zip | |
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.
| -rw-r--r-- | lisp/textmodes/artist.el | 6 |
1 files 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 @@ | |||
| 184 | 184 | ||
| 185 | ;; Variables | 185 | ;; Variables |
| 186 | 186 | ||
| 187 | (defconst artist-version "1.2.6") | ||
| 188 | (defconst artist-maintainer-address "tab@lysator.liu.se, bug-gnu-emacs@gnu.org") | 187 | (defconst artist-maintainer-address "tab@lysator.liu.se, bug-gnu-emacs@gnu.org") |
| 189 | 188 | ||
| 190 | (defvar x-pointer-crosshair) | 189 | (defvar x-pointer-crosshair) |
| @@ -5361,7 +5360,7 @@ The event, EV, is the mouse event." | |||
| 5361 | (setq vars (delq x vars)))) vars) | 5360 | (setq vars (delq x vars)))) vars) |
| 5362 | (reporter-submit-bug-report | 5361 | (reporter-submit-bug-report |
| 5363 | artist-maintainer-address | 5362 | artist-maintainer-address |
| 5364 | (concat "artist.el " artist-version) | 5363 | (concat "artist.el in Emacs " emacs-version) |
| 5365 | vars | 5364 | vars |
| 5366 | nil nil | 5365 | nil nil |
| 5367 | (concat "Hello Tomas,\n\n" | 5366 | (concat "Hello Tomas,\n\n" |
| @@ -5369,6 +5368,9 @@ The event, EV, is the mouse event." | |||
| 5369 | 5368 | ||
| 5370 | (define-obsolete-function-alias 'artist-uniq #'seq-uniq "28.1") | 5369 | (define-obsolete-function-alias 'artist-uniq #'seq-uniq "28.1") |
| 5371 | 5370 | ||
| 5371 | (defconst artist-version "1.2.6") | ||
| 5372 | (make-obsolete-variable 'artist-version 'emacs-version "29.1") | ||
| 5373 | |||
| 5372 | (provide 'artist) | 5374 | (provide 'artist) |
| 5373 | 5375 | ||
| 5374 | 5376 | ||