summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-02-01 16:03:10 +0100
committerStefan Kangas <stefan@marxist.se>2021-02-02 09:57:07 +0100
commit78744f5168f7dd19f742684afd9c588a4a1e688d (patch)
treee2d05a9af8e56ee3ea58bce93f37a0f3581310ab /lisp
parent7d15fa008af774789a91d7242055dc87497df66f (diff)
downloademacs-78744f5168f7dd19f742684afd9c588a4a1e688d.tar.gz
emacs-78744f5168f7dd19f742684afd9c588a4a1e688d.tar.bz2
emacs-78744f5168f7dd19f742684afd9c588a4a1e688d.zip
; Move obsolete version variables further down
* lisp/dframe.el: * lisp/speedbar.el: Move obsolete variables from the top of the file to the bottom, where they don't obscure the license information.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/dframe.el11
-rw-r--r--lisp/speedbar.el22
2 files changed, 20 insertions, 13 deletions
diff --git a/lisp/dframe.el b/lisp/dframe.el
index 23cb6c5a920..7ea5b3364e8 100644
--- a/lisp/dframe.el
+++ b/lisp/dframe.el
@@ -5,10 +5,6 @@
;; Author: Eric M. Ludlam <zappo@gnu.org>
;; Keywords: file, tags, tools
-(defvar dframe-version "1.3"
- "The current version of the dedicated frame library.")
-(make-obsolete-variable 'dframe-version nil "28.1")
-
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
@@ -834,6 +830,13 @@ the mode-line."
(t (dframe-message
"Click on the edge of the mode line to scroll left/right")))))
+
+;;; Obsolete
+
+(defvar dframe-version "1.3"
+ "The current version of the dedicated frame library.")
+(make-obsolete-variable 'dframe-version nil "28.1")
+
(provide 'dframe)
;;; dframe.el ends here
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index 7f751ec3476..e43978f4137 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -5,15 +5,6 @@
;; Author: Eric M. Ludlam <zappo@gnu.org>
;; Keywords: file, tags, tools
-(defvar speedbar-version "1.0"
- "The current version of speedbar.")
-(make-obsolete-variable 'speedbar-version nil "28.1")
-(defvar speedbar-incompatible-version "0.14beta4"
- "This version of speedbar is incompatible with this version.
-Due to massive API changes (removing the use of the word PATH)
-this version is not backward compatible to 0.14 or earlier.")
-(make-obsolete-variable 'speedbar-incompatible-version nil "28.1")
-
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
@@ -4087,6 +4078,19 @@ See `speedbar-expand-image-button-alist' for details."
(setq ia (cdr ia)))))))
+;; Obsolete
+
+(defvar speedbar-version "1.0"
+ "The current version of speedbar.")
+(make-obsolete-variable 'speedbar-version 'emacs-version "28.1")
+
+(defvar speedbar-incompatible-version "0.14beta4"
+ "This version of speedbar is incompatible with this version.
+Due to massive API changes (removing the use of the word PATH)
+this version is not backward compatible to 0.14 or earlier.")
+(make-obsolete-variable 'speedbar-incompatible-version nil "28.1")
+
+
(provide 'speedbar)
;; run load-time hooks