66; ; Olin Shivers <shivers@cs.cmu.edu>
77; ; URL: http://github.com/clojure-emacs/inf-clojure
88; ; Keywords: processes, clojure
9- ; ; Version: 1.5 .0-snapshot
9+ ; ; Version: 2.0 .0-snapshot
1010; ; Package-Requires: ((emacs "24.4") (clojure-mode "5.6"))
1111
1212; ; This file is part of GNU Emacs.
5454 :link '(url-link :tag " GitHub" " https://github.com/clojure-emacs/inf-clojure" )
5555 :link '(emacs-commentary-link :tag " Commentary" " inf-clojure" ))
5656
57- (defconst inf-clojure-version " 1.5 .0-snapshot"
57+ (defconst inf-clojure-version " 2.0 .0-snapshot"
5858 " The current version of `inf-clojure' ." )
5959
6060(defcustom inf-clojure-prompt-read-only t
@@ -163,7 +163,10 @@ of command, consisting of a host and port
163163number (e.g. (\" localhost\" . 5555)). That's useful if you're
164164often connecting to a remote REPL process."
165165 :type '(choice (string )
166- (cons string integer)))
166+ (cons string integer))
167+ :package-version '(inf-clojure . " 2.0.0" ))
168+
169+ (define-obsolete-variable-alias 'inf-clojure-program 'inf-clojure-lein-cmd " 2.0.0" )
167170
168171(defcustom inf-clojure-boot-cmd " boot repl"
169172 " The command used to start a Clojure REPL for Boot projects.
@@ -173,7 +176,8 @@ of command, consisting of a host and port
173176number (e.g. (\" localhost\" . 5555)). That's useful if you're
174177often connecting to a remote REPL process."
175178 :type '(choice (string )
176- (cons string integer)))
179+ (cons string integer))
180+ :package-version '(inf-clojure . " 2.0.0" ))
177181
178182(defcustom inf-clojure-generic-cmd " lein repl"
179183 " The command used to start a Clojure REPL outside Lein/Boot projects.
@@ -183,7 +187,8 @@ of command, consisting of a host and port
183187number (e.g. (\" localhost\" . 5555)). That's useful if you're
184188often connecting to a remote REPL process."
185189 :type '(choice (string )
186- (cons string integer)))
190+ (cons string integer))
191+ :package-version '(inf-clojure . " 2.0.0" ))
187192
188193(defvar-local inf-clojure-repl-type nil
189194 " Symbol to define your REPL type.
@@ -214,7 +219,10 @@ be used instead of `comint-send-string`."
214219This format string should use `%s' to substitute a file name and
215220should result in a Clojure form that will be sent to the inferior
216221Clojure to load that file."
217- :type 'string )
222+ :type 'string
223+ :package-version '(inf-clojure . " 2.0.0" ))
224+
225+ (define-obsolete-variable-alias 'inf-clojure-load-command 'inf-clojure-load-form " 2.0.0" )
218226
219227(defcustom inf-clojure-prompt " ^[^=> \n ]+=> *"
220228 " Regexp to recognize prompts in the Inferior Clojure mode."
@@ -233,12 +241,14 @@ This should usually be a combination of `inf-clojure-prompt' and
233241(defcustom inf-clojure-prompt-on-set-ns t
234242 " Controls whether to prompt when switching namespace."
235243 :type '(choice (const :tag " always" t )
236- (const :tag " never" nil )))
244+ (const :tag " never" nil ))
245+ :package-version '(inf-clojure . " 2.0.0" ))
237246
238247(defcustom inf-clojure-repl-use-same-window nil
239248 " Controls whether to display the REPL buffer in the current window or not."
240249 :type '(choice (const :tag " same" t )
241- (const :tag " different" nil )))
250+ (const :tag " different" nil ))
251+ :package-version '(inf-clojure . " 2.0.0" ))
242252
243253(defvar inf-clojure-buffer nil
244254 " The current inf-clojure process buffer.
@@ -565,12 +575,16 @@ The prefix argument SWITCH-TO-REPL controls whether to switch to REPL after the
565575(defcustom inf-clojure-var-doc-form
566576 " (clojure.repl/doc %s)\n "
567577 " Form to query inferior Clojure for a var's documentation."
568- :type 'string )
578+ :type 'string
579+ :package-version '(inf-clojure . " 2.0.0" ))
580+
581+ (define-obsolete-variable-alias 'inf-clojure-var-doc-command 'inf-clojure-var-doc-form " 2.0.0" )
569582
570583(defcustom inf-clojure-var-doc-form-lumo
571584 " (lumo.repl/doc %s)\n "
572585 " Lumo form to query inferior Clojure for a var's documentation."
573- :type 'string )
586+ :type 'string
587+ :package-version '(inf-clojure . " 2.0.0" ))
574588
575589(defun inf-clojure-var-doc-form ()
576590 " Return the form to query inferior Clojure for a var's documentation.
@@ -583,7 +597,10 @@ If you are using REPL types, it will pickup the most approapriate
583597(defcustom inf-clojure-var-source-form
584598 " (clojure.repl/source %s)\n "
585599 " Form to query inferior Clojure for a var's source."
586- :type 'string )
600+ :type 'string
601+ :package-version '(inf-clojure . " 2.0.0" ))
602+
603+ (define-obsolete-variable-alias 'inf-clojure-var-source-command 'inf-clojure-var-source-form " 2.0.0" )
587604
588605(defcustom inf-clojure-arglist-form
589606 " (try
@@ -593,17 +610,24 @@ If you are using REPL types, it will pickup the most approapriate
593610 (clojure.core/read-string \" %s\" ))))
594611 (catch Throwable t nil))\n "
595612 " Form to query inferior Clojure for a function's arglist."
596- :type 'string )
613+ :type 'string
614+ :package-version '(inf-clojure . " 2.0.0" ))
615+
616+ (define-obsolete-variable-alias 'inf-clojure-arglist-command 'inf-clojure-arglist-form " 2.0.0" )
597617
598618(defcustom inf-clojure-completion-form
599619 " (complete.core/completions \" %s\" )\n "
600620 " Form to query inferior Clojure for completion candidates."
601- :type 'string )
621+ :type 'string
622+ :package-version '(inf-clojure . " 2.0.0" ))
623+
624+ (define-obsolete-variable-alias 'inf-clojure-completion-command 'inf-clojure-completion-form " 2.0.0" )
602625
603626(defcustom inf-clojure-completion-form-lumo
604627 " (doall (map str (lumo.repl/get-completions \" %s\" )))\n "
605628 " Lumo form to query inferior Clojure for completion candidates."
606- :type 'string )
629+ :type 'string
630+ :package-version '(inf-clojure . " 2.0.0" ))
607631
608632(defun inf-clojure-completion-form ()
609633 " Return the form to query inferior Clojure for a var's documentation.
@@ -616,28 +640,43 @@ If you are using REPL types, it will pickup the most approapriate
616640(defcustom inf-clojure-ns-vars-form
617641 " (clojure.repl/dir %s)\n "
618642 " Form to show the public vars in a namespace."
619- :type 'string )
643+ :type 'string
644+ :package-version '(inf-clojure . " 2.0.0" ))
645+
646+ (define-obsolete-variable-alias 'inf-clojure-ns-vars-command 'inf-clojure-ns-vars-form " 2.0.0" )
620647
621648(defcustom inf-clojure-set-ns-form
622649 " (clojure.core/in-ns '%s)\n "
623650 " Form to set the namespace of the inferior Clojure process."
624- :type 'string )
651+ :type 'string
652+ :package-version '(inf-clojure . " 2.0.0" ))
653+
654+ (define-obsolete-variable-alias 'inf-clojure-set-ns-command 'inf-clojure-set-ns-form " 2.0.0" )
625655
626656(defcustom inf-clojure-apropos-form
627657 " (doseq [var (sort (clojure.repl/apropos \" %s\" ))]
628658 (println (str var)))\n "
629659 " Form to invoke apropos."
630- :type 'string )
660+ :type 'string
661+ :package-version '(inf-clojure . " 2.0.0" ))
662+
663+ (define-obsolete-variable-alias 'inf-clojure-apropos-command 'inf-clojure-apropos-form " 2.0.0" )
631664
632665(defcustom inf-clojure-macroexpand-form
633666 " (clojure.core/macroexpand '%s)\n "
634667 " Form to invoke macroexpand."
635- :type 'string )
668+ :type 'string
669+ :package-version '(inf-clojure . " 2.0.0" ))
670+
671+ (define-obsolete-variable-alias 'inf-clojure-macroexpand-command 'inf-clojure-macroexpand-form " 2.0.0" )
636672
637673(defcustom inf-clojure-macroexpand-1-form
638674 " (clojure.core/macroexpand-1 '%s)\n "
639675 " Form to invoke macroexpand-1."
640- :type 'string )
676+ :type 'string
677+ :package-version '(inf-clojure . " 2.0.0" ))
678+
679+ (define-obsolete-variable-alias 'inf-clojure-macroexpand-1-command 'inf-clojure-macroexpand-1-form " 2.0.0" )
641680
642681; ;; Ancillary functions
643682; ;; ===================
@@ -968,7 +1007,8 @@ for evaluation, therefore FORM should not include it."
9681007(defcustom inf-clojure--lumo-repl-form
9691008 " (js/global.hasOwnProperty \" $$LUMO_GLOBALS\" )"
9701009 " Form to invoke in order to verify that we launched a Lumo REPL."
971- :type 'string )
1010+ :type 'string
1011+ :package-version '(inf-clojure . " 2.0.0" ))
9721012
9731013(defalias 'inf-clojure--lumo-p
9741014 (apply-partially 'inf-clojure--response-match-p
0 commit comments