[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/racket-mode 47cb399324: racket-raco-program: Obsolete but
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/racket-mode 47cb399324: racket-raco-program: Obsolete but not alias for racket-program |
Date: |
Thu, 20 Jun 2024 19:00:40 -0400 (EDT) |
branch: elpa/racket-mode
commit 47cb399324f1ecd76cbc7c4af159e223c331c6e1
Author: Greg Hendershott <git@greghendershott.com>
Commit: Greg Hendershott <git@greghendershott.com>
racket-raco-program: Obsolete but not alias for racket-program
While reviewing issue #713, I realized that racket-raco-program should
use make-obsolete-variable -- /not/ define-obsolete-variable-alias.
For example we wouldn't want someone setting racket-raco-program to
"/path/to/raco" and accidentally setting racket-program.
Although I think that's N/A for #713 I want to take the opportunity to
fix this proactively.
---
racket-custom.el | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/racket-custom.el b/racket-custom.el
index b5ceb888fa..86f504e919 100644
--- a/racket-custom.el
+++ b/racket-custom.el
@@ -23,10 +23,16 @@
:group 'languages
:link '(url-link :tag "README on GitHub"
"https://github.com/greghendershott/racket-mode/blob/master/README.md";))
-;; These aliases need be _before_ the `defcustom' of `racket-program'
+;; This alias must be _before_ the `defcustom' of `racket-program'
;; (see note in doc for `define-obsolete-variable-alias').
(define-obsolete-variable-alias 'racket-racket-program 'racket-program
"2017-06-02")
-(define-obsolete-variable-alias 'racket-raco-program 'racket-program
"2017-06-02")
+
+;; racket-raco-program is obsolete, but /not/ an alias for
+;; `racket-program'.
+(make-obsolete-variable
+ 'racket-raco-program
+ "raco is now run using \"`racket-program' racket -l raco\"."
+ "2017-06-02")
(defvar racket--macp (eq 'darwin system-type))
(defvar racket--winp (eq 'windows-nt system-type))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/racket-mode 47cb399324: racket-raco-program: Obsolete but not alias for racket-program,
ELPA Syncer <=