@@ -450,45 +450,63 @@ Used by this command to determine defaults."
450
450
; ;; Command strings
451
451
; ;; ===============
452
452
453
- (defvar inf-clojure-var-doc-command
453
+ (defcustom inf-clojure-var-doc-command
454
454
" (clojure.repl/doc %s)\n "
455
- " Command to query inferior Clojure for a var's documentation." )
455
+ " Command to query inferior Clojure for a var's documentation."
456
+ :type 'string
457
+ :group 'inf-clojure )
456
458
457
- (defvar inf-clojure-var-source-command
459
+ (defcustom inf-clojure-var-source-command
458
460
" (clojure.repl/source %s)\n "
459
- " Command to query inferior Clojure for a var's source." )
461
+ " Command to query inferior Clojure for a var's source."
462
+ :type 'string
463
+ :group 'inf-clojure )
460
464
461
- (defvar inf-clojure-arglist-command
465
+ (defcustom inf-clojure-arglist-command
462
466
" (try
463
467
(:arglists
464
468
(clojure.core/meta
465
469
(clojure.core/resolve
466
470
(clojure.core/read-string \" %s\" ))))
467
471
(catch Throwable t nil))\n "
468
- " Command to query inferior Clojure for a function's arglist." )
472
+ " Command to query inferior Clojure for a function's arglist."
473
+ :type 'string
474
+ :group 'inf-clojure )
469
475
470
- (defvar inf-clojure-completion-command
476
+ (defcustom inf-clojure-completion-command
471
477
" (complete.core/completions \" %s\" )\n "
472
- " Command to query inferior Clojure for completion candidates." )
478
+ " Command to query inferior Clojure for completion candidates."
479
+ :type 'string
480
+ :group 'inf-clojure )
473
481
474
- (defvar inf-clojure-ns-vars-command
482
+ (defcustom inf-clojure-ns-vars-command
475
483
" (clojure.repl/dir %s)\n "
476
- " Command to show the public vars in a namespace." )
484
+ " Command to show the public vars in a namespace."
485
+ :type 'string
486
+ :group 'inf-clojure )
477
487
478
- (defvar inf-clojure-set-ns-command
488
+ (defcustom inf-clojure-set-ns-command
479
489
" (clojure.core/in-ns '%s)\n "
480
- " Command to set the namespace of the inferior Clojure process." )
490
+ " Command to set the namespace of the inferior Clojure process."
491
+ :type 'string
492
+ :group 'inf-clojure )
481
493
482
- (defvar inf-clojure-apropos-command
494
+ (defcustom inf-clojure-apropos-command
483
495
" (doseq [var (sort (clojure.repl/apropos \" %s\" ))]
484
496
(println (str var)))\n "
485
- " Command to invoke apropos." )
497
+ " Command to invoke apropos."
498
+ :type 'string
499
+ :group 'inf-clojure )
486
500
487
- (defvar inf-clojure-macroexpand-command
488
- " (clojure.core/macroexpand '%s)\n " )
501
+ (defcustom inf-clojure-macroexpand-command
502
+ " (clojure.core/macroexpand '%s)\n "
503
+ :type 'string
504
+ :group 'inf-clojure )
489
505
490
- (defvar inf-clojure-macroexpand-1-command
491
- " (clojure.core/macroexpand-1 '%s)\n " )
506
+ (defcustom inf-clojure-macroexpand-1-command
507
+ " (clojure.core/macroexpand-1 '%s)\n "
508
+ :type 'string
509
+ :group 'inf-clojure )
492
510
493
511
; ;; Ancillary functions
494
512
; ;; ===================
0 commit comments